-
-
Couldn't load subscription status.
- Fork 2.7k
Add docs updates for Plotly.py v6.3 #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
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:
- Added an example for controlling the zero line layer using the
zerolinelayerproperty, allowing users to display zero lines above or below traces.
Legends:
- Introduced a new section on setting the maximum height of legends with the
maxheightparameter, allowing better layout control when legends have many items.
Patterns:
- Added an example demonstrating the use of custom SVG paths for bar chart patterns via the
marker.pattern.pathproperty, enabling highly customizable visualizations.
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
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>
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>
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.