Skip to content

Commit 2f239b2

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix-numpy-percentile-issue-5461
2 parents b55ce9a + e879fab commit 2f239b2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1819
-696
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## Unreleased
66

7+
## [6.6.0] - 2026-03-02
8+
9+
### Fixed
10+
- Remove unneeded `type="text/javascript"` attribute from `<style>` tag [[#5454](https://github.com/plotly/plotly.py/pull/5454)], with thanks to @hannob for the contribution!
11+
- Remove global warning format side effect [[#5481](https://github.com/plotly/plotly.py/pull/5481)], with thanks to @emmanuel-ferdman for the contribution!
12+
- Fix spurious engine deprecation warning in write_image [[#5517](https://github.com/plotly/plotly.py/pull/5517)], with thanks to @mosh3eb for the contribution!
13+
14+
### Updated
15+
- Update plotly.js from version 3.3.1 to version 3.4.0. See the plotly.js [release notes](https://github.com/plotly/plotly.js/releases/tag/v3.4.0) for more information. [[#5527](https://github.com/plotly/plotly.py/pull/5527)]. Notable changes include:
16+
- Add support for clicking legend titles to toggle visibility of all traces in legend [[#7698](https://github.com/plotly/plotly.js/pull/7698)]
17+
- Add support for shapes to reference multiple axes [[#7666](https://github.com/plotly/plotly.js/pull/7666)]
18+
- Add support for dashed marker lines in scatter plots [[#7673](https://github.com/plotly/plotly.js/pull/7673)]
19+
- Increase axis autorange when bar charts have outside text labels, to avoid labels being clipped [[#7675](https://github.com/plotly/plotly.js/pull/7675)]
20+
721
## [6.5.2] - 2026-01-14
822

923
### Fixed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors:
99
- family-names: "Parmer"
1010
given-names: "Chris"
1111
title: "An interactive, open-source, and browser-based graphing library for Python"
12-
version: 6.5.2
12+
version: 6.6.0
1313
doi: 10.5281/zenodo.14503524
14-
date-released: 2026-01-14
14+
date-released: 2026-03-02
1515
url: "https://github.com/plotly/plotly.py"

codegen/resources/plot-schema.json

Lines changed: 158 additions & 6 deletions
Large diffs are not rendered by default.

doc/apidoc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# The short X.Y version
2525
version = ""
2626
# The full version, including alpha/beta/rc tags
27-
release = "6.5.0"
27+
release = "6.6.0"
2828

2929

3030
# -- General configuration ---------------------------------------------------

doc/python/axes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jupyter:
3333
thumbnail: thumbnail/axes.png
3434
---
3535

36-
This tutorial explain how to set the properties of [2-dimensional Cartesian axes](/python/figure-structure/#2d-cartesian-trace-types-and-subplots), namely [`go.layout.XAxis`](/python/reference/layout/xaxis/) and [`go.layout.YAxis`](/python/reference/layout/xaxis/).
36+
This tutorial explains how to set the properties of [2-dimensional Cartesian axes](/python/figure-structure/#2d-cartesian-trace-types-and-subplots), namely [`go.layout.XAxis`](/python/reference/layout/xaxis/) and [`go.layout.YAxis`](/python/reference/layout/yaxis/).
3737

3838
Other kinds of subplots and axes are described in other tutorials:
3939

doc/python/bar-charts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ def pictogram_bar(data, title, icon_size, max_icons_per_column=10, units_per_ico
653653
title=title,
654654
xaxis=dict(
655655
tickvals=tick_locations,
656-
# Label ecah category
656+
# Label each category
657657
ticktext=list(data.keys()),
658658
tickangle=-45,
659659
showgrid=False,
@@ -772,7 +772,7 @@ fig.show()
772772

773773
### Colored and Styled Bar Chart
774774

775-
In this example several parameters of the layout as customized, hence it is convenient to use directly the `go.Layout(...)` constructor instead of calling `fig.update`.
775+
In this example several parameters of the layout are customized, hence it is convenient to use directly the `go.Layout(...)` constructor instead of calling `fig.update`.
776776

777777
```python
778778
import plotly.graph_objects as go

doc/python/bubble-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,4 @@ fig.show()
208208

209209
#### Reference
210210

211-
See [function reference for `px.(scatter_geo)`](https://plotly.com/python-api-reference/generated/plotly.express.scatter_geo) or https://plotly.com/python/reference/choropleth/ and https://plotly.com/python/reference/scattergeo/ for more information and chart attribute options!
211+
See [function reference for `px.scatter_geo`](https://plotly.com/python-api-reference/generated/plotly.express.scatter_geo) or https://plotly.com/python/reference/scattergeo/ for more information and chart attribute options!

doc/python/choropleth-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ fig = go.Figure(data=go.Choropleth(
258258

259259
fig.update_layout(
260260
title_text = '2011 US Agriculture Exports by State',
261-
geo_scope='usa', # limite map scope to USA
261+
geo_scope='usa', # limit map scope to USA
262262
)
263263

264264
fig.show()

doc/python/configuration-options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The `.show()` method that you use to display your figures also accepts a `config
4040

4141
You can set the configuration options for your figure by passing a dictionary to this parameter which contains the options you want to set.
4242

43-
If you don't set an option's value, it will be automatically be set to the default value for that option.
43+
If you don't set an option's value, it will automatically be set to the default value for that option.
4444

4545
For the complete list of configuration options and their defaults see: https://github.com/plotly/plotly.js/blob/master/src/plot_api/plot_config.js
4646

@@ -348,7 +348,7 @@ fig = go.Figure(
348348
title='Google Stock Price Over Time with Mode Bar Disabled',
349349
xaxis=dict(
350350
title='Date',
351-
# Try zooming in or out using the modebar buttons. These only apply to the yaxis in this exampe.
351+
# Try zooming in or out using the modebar buttons. These only apply to the yaxis in this example.
352352
modebardisable='zoominout'
353353
),
354354
yaxis=dict(

doc/python/creating-and-updating-figures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ import plotly.graph_objects as go
281281
df = px.data.iris()
282282

283283
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species", facet_col="species",
284-
title="Adding Traces To Subplots Witin A Plotly Express Figure")
284+
title="Adding Traces To Subplots Within A Plotly Express Figure")
285285

286286
reference_line = go.Scatter(x=[2, 4],
287287
y=[4, 8],
@@ -624,7 +624,7 @@ Figures created with the plotly.py graphing library also support:
624624

625625
#### Chaining Figure Operations
626626

627-
All of the figure update operations described above are methods that return a reference to the figure being modified. This makes it possible the chain multiple figure modification operations together into a single expression.
627+
All of the figure update operations described above are methods that return a reference to the figure being modified. This makes it possible to chain multiple figure modification operations together into a single expression.
628628

629629
Here is an example of a chained expression that creates:
630630

0 commit comments

Comments
 (0)