Skip to content

Commit f723b40

Browse files
authored
Merge branch 'main' into migrate-ci-to-gh-actions
2 parents 3f47bab + d902d64 commit f723b40

457 files changed

Lines changed: 1497 additions & 1356 deletions

File tree

Some content is hidden

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

CHANGELOG.md

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

55
## Unreleased
66

7+
8+
## [6.7.0] - 2026-04-09
9+
710
### Added
8-
- Add `facet_row` support to `px.imshow` for creating subplots along an additional dimension [[#5445](https://github.com/plotly/plotly.py/pull/5445)]
11+
- Add `facet_row` support to `px.imshow` for creating subplots along an additional dimension [[#5445](https://github.com/plotly/plotly.py/pull/5445)], with thanks to @FBumann for the contribution!
912

1013
### Fixed
11-
- Update `numpy.percentile` syntax to stop using deprecated alias [[5483](https://github.com/plotly/plotly.py/pull/5483)], with thanks to @Mr-Neutr0n for the contribution!
14+
- Update `numpy.percentile` syntax to stop using deprecated alias [[#5483](https://github.com/plotly/plotly.py/pull/5483)], with thanks to @Mr-Neutr0n for the contribution!
1215
- `numpy` with a version less than 1.22 is no longer supported.
16+
- Handle empty `px.histogram` by skipping `None` label in hover template [[#5535](https://github.com/plotly/plotly.py/pull/5535)], with thanks to @tysoncung for the contribution!
17+
18+
### Updated
19+
- Update plotly.js from version 3.4.0 to version 3.5.0. See the plotly.js [release notes](https://github.com/plotly/plotly.js/releases/tag/v3.5.0) for more information. [[#5565](https://github.com/plotly/plotly.py/pull/5565)]. Notable changes include:
20+
- Add `hoveranywhere` and `clickanywhere` layout attributes to enable emitting hover and click events anywhere in the plot area, not just over traces [[#7707](https://github.com/plotly/plotly.js/pull/7707)]
21+
- Add `displayNotifier` configuration property to set the display of notifier in the top right area of the viewport [[#7730](https://github.com/plotly/plotly.js/pull/7730)]
22+
- Update USA location lookup for `scattergeo` and `choropleth` traces to use both location names and abbreviations [[#7731](https://github.com/plotly/plotly.js/pull/7731)]
1323

1424
## [6.6.0] - 2026-03-02
1525

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.6.0
12+
version: 6.7.0
1313
doi: 10.5281/zenodo.14503524
14-
date-released: 2026-03-02
14+
date-released: 2026-04-09
1515
url: "https://github.com/plotly/plotly.py"

codegen/resources/plot-schema.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@
124124
false
125125
]
126126
},
127+
"displayNotifier": {
128+
"description": "Determines whether or not notifier is displayed.",
129+
"dflt": true,
130+
"valType": "boolean"
131+
},
127132
"doubleClick": {
128133
"description": "Sets the double click interaction mode. Has an effect only in cartesian plots. If *false*, double click is disable. If *reset*, double click resets the axis ranges to their initial values. If *autosize*, double click set the axis ranges to their autorange values. If *reset+autosize*, the odd double clicks resets the axis ranges to their initial values and even double clicks set the axis ranges to their autorange values.",
129134
"dflt": "reset+autosize",
@@ -1166,6 +1171,12 @@
11661171
"ummalqura"
11671172
]
11681173
},
1174+
"clickanywhere": {
1175+
"description": "If true, `plotly_click` events will fire for any click position within the plot area, not just over traces. When clicking where there is no trace data, the event will have an empty `points` array but will include `xvals` and `yvals` with click coordinates in data space.",
1176+
"dflt": false,
1177+
"editType": "none",
1178+
"valType": "boolean"
1179+
},
11691180
"clickmode": {
11701181
"description": "Determines the mode of single click interactions. *event* is the default value and emits the `plotly_click` event. In addition this mode emits the `plotly_selected` event in drag modes *lasso* and *select*, but with no event data attached (kept for compatibility reasons). The *select* flag enables selecting single data points via click. This mode also supports persistent selections, meaning that pressing Shift while clicking, adds to / subtracts from an existing selection. *select* with `hovermode`: *x* can be confusing, consider explicitly setting `hovermode`: *closest* when using this feature. Selection events are sent accordingly as long as *event* flag is set as well. When the *event* flag is missing, `plotly_click` and `plotly_selected` events are not fired.",
11711182
"dflt": "event",
@@ -2807,6 +2818,12 @@
28072818
"editType": "plot",
28082819
"valType": "boolean"
28092820
},
2821+
"hoveranywhere": {
2822+
"description": "If true, `plotly_hover` events will fire for any cursor position within the plot area, not just over traces. When the cursor is not over a trace, the event will have an empty `points` array but will include `xvals` and `yvals` with cursor coordinates in data space.",
2823+
"dflt": false,
2824+
"editType": "none",
2825+
"valType": "boolean"
2826+
},
28102827
"hoverdistance": {
28112828
"description": "Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data). This is only a real distance for hovering on point-like objects, like scatter points. For area-like objects (bars, scatter fills, etc) hovering is on inside the area and off outside, but these objects will not supersede hover on point-like objects in case of conflict.",
28122829
"dflt": 20,
@@ -25447,7 +25464,7 @@
2544725464
"valType": "number"
2544825465
},
2544925466
"locationmode": {
25450-
"description": "The library used by the *country names* `locationmode` option is changing in an upcoming version. Country names in existing plots may not work in the new version. Determines the set of locations used to match entries in `locations` to regions on the map. Values *ISO-3*, *USA-states*, *country names* correspond to features on the base map and value *geojson-id* corresponds to features from a custom GeoJSON linked to the `geojson` attribute.",
25467+
"description": "The library used by the *country names* `locationmode` option is changing in an upcoming version. Country names in existing plots may not work in the new version. Determines the set of locations used to match entries in `locations` to regions on the map. Values *ISO-3*, *USA-states*, *country names* correspond to features on the base map and value *geojson-id* corresponds to features from a custom GeoJSON linked to the `geojson` attribute. *USA-states* accepts both two-letter abbreviations (e.g. *CA*) and full state names (e.g. *California*).",
2545125468
"dflt": "ISO-3",
2545225469
"editType": "calc",
2545325470
"valType": "enumerated",
@@ -67366,7 +67383,7 @@
6736667383
}
6736767384
},
6736867385
"locationmode": {
67369-
"description": "The library used by the *country names* `locationmode` option is changing in an upcoming version. Country names in existing plots may not work in the new version. Determines the set of locations used to match entries in `locations` to regions on the map. Values *ISO-3*, *USA-states*, *country names* correspond to features on the base map and value *geojson-id* corresponds to features from a custom GeoJSON linked to the `geojson` attribute.",
67386+
"description": "The library used by the *country names* `locationmode` option is changing in an upcoming version. Country names in existing plots may not work in the new version. Determines the set of locations used to match entries in `locations` to regions on the map. Values *ISO-3*, *USA-states*, *country names* correspond to features on the base map and value *geojson-id* corresponds to features from a custom GeoJSON linked to the `geojson` attribute. *USA-states* accepts both two-letter abbreviations (e.g. *CA*) and full state names (e.g. *California*).",
6737067387
"dflt": "ISO-3",
6737167388
"editType": "calc",
6737267389
"valType": "enumerated",

js/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jupyterlab-plotly",
33
"main": "lib/mimeExtension.js",
4-
"version": "6.6.0",
4+
"version": "6.7.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/plotly/plotly.py"
@@ -19,7 +19,7 @@
1919
},
2020
"dependencies": {
2121
"lodash-es": "^4.17.21",
22-
"plotly.js": "3.4.0",
22+
"plotly.js": "3.5.0",
2323
"@lumino/widgets": "~2.4.0"
2424
},
2525
"devDependencies": {

plotly/graph_objs/_bar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1682,7 +1682,7 @@ def zorder(self):
16821682
other SVG traces on the same subplot. SVG traces with higher
16831683
`zorder` appear in front of those with lower `zorder`.
16841684
1685-
The 'zorder' property is a integer and may be specified as:
1685+
The 'zorder' property is an integer and may be specified as:
16861686
- An int (or float that will be cast to an int)
16871687
16881688
Returns

plotly/graph_objs/_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,7 @@ def zorder(self):
19211921
other SVG traces on the same subplot. SVG traces with higher
19221922
`zorder` appear in front of those with lower `zorder`.
19231923
1924-
The 'zorder' property is a integer and may be specified as:
1924+
The 'zorder' property is an integer and may be specified as:
19251925
- An int (or float that will be cast to an int)
19261926
19271927
Returns

plotly/graph_objs/_candlestick.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ def zorder(self):
11421142
other SVG traces on the same subplot. SVG traces with higher
11431143
`zorder` appear in front of those with lower `zorder`.
11441144
1145-
The 'zorder' property is a integer and may be specified as:
1145+
The 'zorder' property is an integer and may be specified as:
11461146
- An int (or float that will be cast to an int)
11471147
11481148
Returns

plotly/graph_objs/_carpet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ def zorder(self):
785785
other SVG traces on the same subplot. SVG traces with higher
786786
`zorder` appear in front of those with lower `zorder`.
787787
788-
The 'zorder' property is a integer and may be specified as:
788+
The 'zorder' property is an integer and may be specified as:
789789
- An int (or float that will be cast to an int)
790790
791791
Returns

plotly/graph_objs/_choropleth.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,9 @@ def locationmode(self):
627627
the map. Values "ISO-3", "USA-states", *country names*
628628
correspond to features on the base map and value "geojson-id"
629629
corresponds to features from a custom GeoJSON linked to the
630-
`geojson` attribute.
630+
`geojson` attribute. "USA-states" accepts both two-letter
631+
abbreviations (e.g. "CA") and full state names (e.g.
632+
"California").
631633
632634
The 'locationmode' property is an enumeration that may be specified as:
633635
- One of the following enumeration values:
@@ -1289,7 +1291,9 @@ def _prop_descriptions(self):
12891291
"ISO-3", "USA-states", *country names* correspond to
12901292
features on the base map and value "geojson-id"
12911293
corresponds to features from a custom GeoJSON linked to
1292-
the `geojson` attribute.
1294+
the `geojson` attribute. "USA-states" accepts both two-
1295+
letter abbreviations (e.g. "CA") and full state names
1296+
(e.g. "California").
12931297
locations
12941298
Sets the coordinates via location IDs or names. See
12951299
`locationmode` for more info.
@@ -1623,7 +1627,9 @@ def __init__(
16231627
"ISO-3", "USA-states", *country names* correspond to
16241628
features on the base map and value "geojson-id"
16251629
corresponds to features from a custom GeoJSON linked to
1626-
the `geojson` attribute.
1630+
the `geojson` attribute. "USA-states" accepts both two-
1631+
letter abbreviations (e.g. "CA") and full state names
1632+
(e.g. "California").
16271633
locations
16281634
Sets the coordinates via location IDs or names. See
16291635
`locationmode` for more info.

0 commit comments

Comments
 (0)