Skip to content

Rotate axis labels that are longer than 4 characters in 3D scenes (issue #3077) #3084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Oct 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
aeccbeb
align long axis labels
archmoj Oct 7, 2018
32c3b32
updated two baseline images - now having vertical alignment for long …
archmoj Oct 7, 2018
564f062
improved alignments
archmoj Oct 8, 2018
a56b146
apply alignment only for labels, not ticks
archmoj Oct 8, 2018
8aa0e5c
center labels
archmoj Oct 8, 2018
057df20
reset one baseline image
archmoj Oct 8, 2018
933fce3
reset image base
archmoj Oct 8, 2018
b141050
options prototype
archmoj Oct 9, 2018
4dc52ec
options prototype-test
archmoj Oct 9, 2018
b6905fb
baseline image update
archmoj Oct 9, 2018
2087b5e
free rotation
archmoj Oct 9, 2018
b391c00
updated baseline images
archmoj Oct 9, 2018
c08a86b
using branches on gl-vis repos
archmoj Oct 9, 2018
1ce4663
apply text options
archmoj Oct 10, 2018
c279bad
baseline update 3D ticks
archmoj Oct 10, 2018
e63dce2
fixed rotation angles
archmoj Oct 10, 2018
365a666
baselines for fixed rotation angles
archmoj Oct 10, 2018
c1e2a4b
fixed tick angles
archmoj Oct 10, 2018
1811097
baseline images for fixed tick angles
archmoj Oct 10, 2018
72807c7
tick alignments completed
archmoj Oct 12, 2018
9d99dd0
updated baselines and syntax
archmoj Oct 12, 2018
1cb9c8c
updated baselines2
archmoj Oct 12, 2018
375b284
tick alignments completed - fix
archmoj Oct 12, 2018
9194456
complete baseline images
archmoj Oct 12, 2018
2b8a1d5
tick alignments would stay upwards, set api
archmoj Oct 12, 2018
b499e68
updated baselines
archmoj Oct 12, 2018
4500ea3
using new gl-plot3d version 1.5.7
archmoj Oct 12, 2018
fa807e8
Merge branch 'master' into rotate3d-axis-lables
archmoj Oct 12, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ or the un-minified version as:

You can grab the relevant MathJax files in `./dist/extras/mathjax/`.

By default, plotly.js will modify the global MathJax configuration on load.
This can lead to undesirable behavior if plotly.js is loaded alongside
other libraries that also rely on MathJax. To disable this global configuration
process, set the `MathJaxConfig` property to `'local'` in the `window.PlotlyConfig`
object. This property must be set before the plotly.js script tag, for example:

```html
<script>
window.PlotlyConfig = {MathJaxConfig: 'local'}
</script>
<script src="plotly.min.js"></script>
```

### To include localization

Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
Expand Down Expand Up @@ -75,7 +88,7 @@ The main plotly.js bundle weights in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 5.8 MB | 2.7 MB | 819.8 kB | 6 MB |
| 6 MB | 2.7 MB | 830.5 kB | 6.2 MB |

## Partial bundles

Expand All @@ -98,7 +111,7 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.2 MB | 775.4 kB | 254.1 kB |
| 2.2 MB | 782.9 kB | 256.2 kB |

#### CDN links

Expand Down Expand Up @@ -144,7 +157,7 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.5 MB | 885.7 kB | 288.7 kB |
| 2.6 MB | 895.4 kB | 291.5 kB |

#### CDN links

Expand Down Expand Up @@ -190,7 +203,7 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.2 MB | 798.5 kB | 263.2 kB |
| 2.3 MB | 803.7 kB | 264.7 kB |

#### CDN links

Expand Down Expand Up @@ -236,7 +249,7 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.2 MB | 1.3 MB | 411.4 kB |
| 3.3 MB | 1.3 MB | 413.9 kB |

#### CDN links

Expand Down Expand Up @@ -282,7 +295,7 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.3 MB | 1.3 MB | 431.3 kB |
| 3.4 MB | 1.3 MB | 432.6 kB |

#### CDN links

Expand Down Expand Up @@ -328,7 +341,7 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.7 MB | 1.3 MB | 400.9 kB |
| 2.8 MB | 1.3 MB | 402.5 kB |

#### CDN links

Expand Down Expand Up @@ -374,7 +387,7 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.3 MB | 805.5 kB | 263 kB |
| 2.3 MB | 814.6 kB | 265.8 kB |

#### CDN links

Expand Down
1,714 changes: 1,292 additions & 422 deletions dist/plot-schema.json

Large diffs are not rendered by default.

Loading