-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add docs updates for Plotly.py v6.3 [merge after main is updated with Plotly.js 3.1.0] #5269
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
base: main
Are you sure you want to change the base?
Conversation
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: |
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
Co-authored-by: Emily KL <4672118+emilykl@users.noreply.github.com>
doc/python/map-configuration.md
Outdated
@@ -102,9 +110,9 @@ fig.show() | |||
|
|||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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>
…plotly.py into docs-update-next-release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I may have given you the wrong layer breakdown before. The comments I added show the correct lists.
Co-authored-by: Cameron DeCoster <cameron.decoster@gmail.com>
Co-authored-by: Cameron DeCoster <cameron.decoster@gmail.com>
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.md
file.doc-prod
branch OR it targets themain
branch.px
example 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_subplots
orgo.Figure
).fig.add_*
andfig.update_*
rather thango.Figure(data=..., layout=...)
.fig.add_shape
andfig.update_xaxes
are used instead of bigfig.update_layout
calls.fig.show()
is at the end of each example.plotly.plot()
andplotly.iplot()
are not used in any example.```python
.