Version changes for v6.8.0#5609
Merged
Merged
Conversation
emilykl
reviewed
Jun 3, 2026
Comment on lines
+248
to
+256
| ```python | ||
| import plotly.express as px | ||
|
|
||
| df = px.data.iris() | ||
| fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species") | ||
| fig.update_layout(hoveranywhere=True, clickanywhere=True) | ||
|
|
||
| fig.show() | ||
| ``` |
Contributor
There was a problem hiding this comment.
Might not need a full example for this one, since the actual point of these properties (triggering hover/click events) isn't easy to demonstrate in Plotly.py alone. Maybe just inline a code example of how to set the property (i.e. fig.update_layout(hoveranywhere=True)) and remove this example block.
emilykl
reviewed
Jun 3, 2026
| fig.show() | ||
| ``` | ||
|
|
||
| ### Customizing Hover text with Plotly Express |
Contributor
There was a problem hiding this comment.
Suggested change
| ### Customizing Hover text with Plotly Express | |
| ### Customizing Hover Text with Plotly Express |
emilykl
reviewed
Jun 3, 2026
Comment on lines
+18
to
+23
| - Add default headers to be passed in to Kaleido v1.3.0 to avoid blocked Open Street Map tiles [[#5588](https://github.com/plotly/plotly.py/pull/5588)] | ||
| - Propagate the requested `default_height`/`default_width` to the outer wrapper div produced by `to_html` so that responsive (percentage) dimensions inherit from a sized parent container instead of collapsing to the plotly.js 450px fallback [[#5591](https://github.com/plotly/plotly.py/issues/5591)], with thanks to @SharadhNaidu for the contribution! | ||
|
|
||
| ### Updated | ||
| - The `__eq__` method for `graph_objects` classes now returns `NotImplemented` to give the other operand an opportunity to handle the comparison [[#5547](https://github.com/plotly/plotly.py/pull/5547)], with thanks to @RazerM for the contribution! | ||
| - Migrate build backend from setuptools to hatchling [[#5540](https://github.com/plotly/plotly.py/pull/5540)]. As part of this change, the `js/` directory is no longer installed as a top-level Python package. |
Contributor
There was a problem hiding this comment.
Suggested change
| - Add default headers to be passed in to Kaleido v1.3.0 to avoid blocked Open Street Map tiles [[#5588](https://github.com/plotly/plotly.py/pull/5588)] | |
| - Propagate the requested `default_height`/`default_width` to the outer wrapper div produced by `to_html` so that responsive (percentage) dimensions inherit from a sized parent container instead of collapsing to the plotly.js 450px fallback [[#5591](https://github.com/plotly/plotly.py/issues/5591)], with thanks to @SharadhNaidu for the contribution! | |
| ### Updated | |
| - The `__eq__` method for `graph_objects` classes now returns `NotImplemented` to give the other operand an opportunity to handle the comparison [[#5547](https://github.com/plotly/plotly.py/pull/5547)], with thanks to @RazerM for the contribution! | |
| - Migrate build backend from setuptools to hatchling [[#5540](https://github.com/plotly/plotly.py/pull/5540)]. As part of this change, the `js/` directory is no longer installed as a top-level Python package. | |
| - Fix issue where `js/` directory was unintentionally installed as a top-level Python package when installing `plotly` [[#5587](https://github.com/plotly/plotly.py/pull/5587)] | |
| - Add default headers to be passed in to Kaleido v1.3.0 to avoid blocked Open Street Map tiles [[#5588](https://github.com/plotly/plotly.py/pull/5588)] | |
| - Propagate the requested `default_height`/`default_width` to the outer wrapper div produced by `to_html` so that responsive (percentage) dimensions inherit from a sized parent container instead of collapsing to the plotly.js 450px fallback [[#5591](https://github.com/plotly/plotly.py/issues/5591)], with thanks to @SharadhNaidu for the contribution! | |
| ### Updated | |
| - The `__eq__` method for `graph_objects` classes now returns `NotImplemented` to give the other operand an opportunity to handle the comparison [[#5547](https://github.com/plotly/plotly.py/pull/5547)], with thanks to @RazerM for the contribution! |
emilykl
approved these changes
Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update files for release of v6.8.0.