Uh oh!
There was an error while loading. Please reload this page.
Add docs updates for Plotly.py v6.3 - #5269
Conversation
cceneag
commented
Jul 16, 2025
This pull request updates the documentation for Plotly's Python library to include new features introduced in version 6.3, along with some minor metadata updates. The key changes introduce examples for controlling zero line layers, limiting legend height, and using custom SVG patterns in bar charts. New Features in Documentation:Axes:
Legends:
Patterns:
Metadata Updates: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
| In addition to physical base map features, a "cultural" base map is included which is composed of country borders and selected sub-country borders such as states. | ||
| **Note and disclaimer:** cultural features are by definition subject to change, debate and dispute. Plotly includes data from Natural Earth "as-is" and defers to the [Natural Earth policy regarding disputed borders](https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/) which read: | ||
| In **Plotly.py 6.3 and later**, this base map is created from [UN data](https://geoportal.un.org/arcgis/sharing/rest/content/items/d7caaff3ef4b4f7c82689b7c4694ad92/data). |
There was a problem hiding this comment.
the sub-country borders are still drawn from Natural Earth, correct?
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
camdecoster
left a comment
There was a problem hiding this comment.
I think I may have given you the wrong layer breakdown before. The comments I added show the correct lists.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Cameron DeCoster <cameron.decoster@gmail.com>
Co-authored-by: Cameron DeCoster <cameron.decoster@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Adds examples for next Plotly.js version 3.1.0.
Merge after main branch has been updated to use Plotly.js 3.1.0
Documentation PR
doc/README.mdfile.doc-prodbranch OR it targets themainbranch.pxexample if at all possible.plotly.graph_objects as go,plotly.express as px, and/orplotly.io as pio.df.fig = <something>is called high up in each new/modified example (eitherpx.<something>ormake_subplotsorgo.Figure).fig.add_*andfig.update_*rather thango.Figure(data=..., layout=...).fig.add_shapeandfig.update_xaxesare used instead of bigfig.update_layoutcalls.fig.show()is at the end of each example.plotly.plot()andplotly.iplot()are not used in any example.```python.