Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 19 additions & 2 deletions codegen/resources/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@
false
]
},
"displayNotifier": {
"description": "Determines whether or not notifier is displayed.",
"dflt": true,
"valType": "boolean"
},
"doubleClick": {
"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.",
"dflt": "reset+autosize",
Expand Down Expand Up @@ -1166,6 +1171,12 @@
"ummalqura"
]
},
"clickanywhere": {
"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.",
"dflt": false,
"editType": "none",
"valType": "boolean"
},
"clickmode": {
"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.",
"dflt": "event",
Expand Down Expand Up @@ -2807,6 +2818,12 @@
"editType": "plot",
"valType": "boolean"
},
"hoveranywhere": {
"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.",
"dflt": false,
"editType": "none",
"valType": "boolean"
},
"hoverdistance": {
"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.",
"dflt": 20,
Expand Down Expand Up @@ -25447,7 +25464,7 @@
"valType": "number"
},
"locationmode": {
"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.",
"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*).",
"dflt": "ISO-3",
"editType": "calc",
"valType": "enumerated",
Expand Down Expand Up @@ -67366,7 +67383,7 @@
}
},
"locationmode": {
"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.",
"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*).",
"dflt": "ISO-3",
"editType": "calc",
"valType": "enumerated",
Expand Down
8 changes: 4 additions & 4 deletions js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"lodash-es": "^4.17.21",
"plotly.js": "3.4.0",
"plotly.js": "3.5.0",
"@lumino/widgets": "~2.4.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion plotly/graph_objs/_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,7 @@ def zorder(self):
other SVG traces on the same subplot. SVG traces with higher
`zorder` appear in front of those with lower `zorder`.

The 'zorder' property is a integer and may be specified as:
The 'zorder' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
2 changes: 1 addition & 1 deletion plotly/graph_objs/_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -1921,7 +1921,7 @@ def zorder(self):
other SVG traces on the same subplot. SVG traces with higher
`zorder` appear in front of those with lower `zorder`.

The 'zorder' property is a integer and may be specified as:
The 'zorder' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
2 changes: 1 addition & 1 deletion plotly/graph_objs/_candlestick.py
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ def zorder(self):
other SVG traces on the same subplot. SVG traces with higher
`zorder` appear in front of those with lower `zorder`.

The 'zorder' property is a integer and may be specified as:
The 'zorder' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
2 changes: 1 addition & 1 deletion plotly/graph_objs/_carpet.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ def zorder(self):
other SVG traces on the same subplot. SVG traces with higher
`zorder` appear in front of those with lower `zorder`.

The 'zorder' property is a integer and may be specified as:
The 'zorder' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
12 changes: 9 additions & 3 deletions plotly/graph_objs/_choropleth.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,9 @@ def locationmode(self):
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.
`geojson` attribute. "USA-states" accepts both two-letter
abbreviations (e.g. "CA") and full state names (e.g.
"California").

The 'locationmode' property is an enumeration that may be specified as:
- One of the following enumeration values:
Expand Down Expand Up @@ -1289,7 +1291,9 @@ def _prop_descriptions(self):
"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.
the `geojson` attribute. "USA-states" accepts both two-
letter abbreviations (e.g. "CA") and full state names
(e.g. "California").
locations
Sets the coordinates via location IDs or names. See
`locationmode` for more info.
Expand Down Expand Up @@ -1623,7 +1627,9 @@ def __init__(
"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.
the `geojson` attribute. "USA-states" accepts both two-
letter abbreviations (e.g. "CA") and full state names
(e.g. "California").
locations
Sets the coordinates via location IDs or names. See
`locationmode` for more info.
Expand Down
4 changes: 2 additions & 2 deletions plotly/graph_objs/_contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ def ncontours(self):
to the value of `ncontours`. Has an effect only if
`autocontour` is True or if `contours.size` is missing.

The 'ncontours' property is a integer and may be specified as:
The 'ncontours' property is an integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [1, 9223372036854775807]

Expand Down Expand Up @@ -1670,7 +1670,7 @@ def zorder(self):
other SVG traces on the same subplot. SVG traces with higher
`zorder` appear in front of those with lower `zorder`.

The 'zorder' property is a integer and may be specified as:
The 'zorder' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
4 changes: 2 additions & 2 deletions plotly/graph_objs/_contourcarpet.py
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ def ncontours(self):
to the value of `ncontours`. Has an effect only if
`autocontour` is True or if `contours.size` is missing.

The 'ncontours' property is a integer and may be specified as:
The 'ncontours' property is an integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [1, 9223372036854775807]

Expand Down Expand Up @@ -1158,7 +1158,7 @@ def zorder(self):
other SVG traces on the same subplot. SVG traces with higher
`zorder` appear in front of those with lower `zorder`.

The 'zorder' property is a integer and may be specified as:
The 'zorder' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
8 changes: 6 additions & 2 deletions plotly/graph_objs/_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -3233,7 +3233,9 @@ def add_choropleth(
"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.
the `geojson` attribute. "USA-states" accepts both two-
letter abbreviations (e.g. "CA") and full state names
(e.g. "California").
locations
Sets the coordinates via location IDs or names. See
`locationmode` for more info.
Expand Down Expand Up @@ -15070,7 +15072,9 @@ def add_scattergeo(
"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.
the `geojson` attribute. "USA-states" accepts both two-
letter abbreviations (e.g. "CA") and full state names
(e.g. "California").
locations
Sets the coordinates via location IDs or names.
Coordinates correspond to the centroid of each location
Expand Down
8 changes: 6 additions & 2 deletions plotly/graph_objs/_figurewidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -3235,7 +3235,9 @@ def add_choropleth(
"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.
the `geojson` attribute. "USA-states" accepts both two-
letter abbreviations (e.g. "CA") and full state names
(e.g. "California").
locations
Sets the coordinates via location IDs or names. See
`locationmode` for more info.
Expand Down Expand Up @@ -15072,7 +15074,9 @@ def add_scattergeo(
"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.
the `geojson` attribute. "USA-states" accepts both two-
letter abbreviations (e.g. "CA") and full state names
(e.g. "California").
locations
Sets the coordinates via location IDs or names.
Coordinates correspond to the centroid of each location
Expand Down
2 changes: 1 addition & 1 deletion plotly/graph_objs/_funnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@ def zorder(self):
other SVG traces on the same subplot. SVG traces with higher
`zorder` appear in front of those with lower `zorder`.

The 'zorder' property is a integer and may be specified as:
The 'zorder' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
2 changes: 1 addition & 1 deletion plotly/graph_objs/_heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@ def zorder(self):
other SVG traces on the same subplot. SVG traces with higher
`zorder` appear in front of those with lower `zorder`.

The 'zorder' property is a integer and may be specified as:
The 'zorder' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
6 changes: 3 additions & 3 deletions plotly/graph_objs/_histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ def nbinsx(self):
such that the histogram best visualizes the distribution of the
data. Ignored if `xbins.size` is provided.

The 'nbinsx' property is a integer and may be specified as:
The 'nbinsx' property is an integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]

Expand All @@ -848,7 +848,7 @@ def nbinsy(self):
such that the histogram best visualizes the distribution of the
data. Ignored if `ybins.size` is provided.

The 'nbinsy' property is a integer and may be specified as:
The 'nbinsy' property is an integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]

Expand Down Expand Up @@ -1543,7 +1543,7 @@ def zorder(self):
other SVG traces on the same subplot. SVG traces with higher
`zorder` appear in front of those with lower `zorder`.

The 'zorder' property is a integer and may be specified as:
The 'zorder' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
4 changes: 2 additions & 2 deletions plotly/graph_objs/_histogram2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ def nbinsx(self):
such that the histogram best visualizes the distribution of the
data. Ignored if `xbins.size` is provided.

The 'nbinsx' property is a integer and may be specified as:
The 'nbinsx' property is an integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]

Expand All @@ -760,7 +760,7 @@ def nbinsy(self):
such that the histogram best visualizes the distribution of the
data. Ignored if `ybins.size` is provided.

The 'nbinsy' property is a integer and may be specified as:
The 'nbinsy' property is an integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]

Expand Down
6 changes: 3 additions & 3 deletions plotly/graph_objs/_histogram2dcontour.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ def nbinsx(self):
such that the histogram best visualizes the distribution of the
data. Ignored if `xbins.size` is provided.

The 'nbinsx' property is a integer and may be specified as:
The 'nbinsx' property is an integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]

Expand All @@ -820,7 +820,7 @@ def nbinsy(self):
such that the histogram best visualizes the distribution of the
data. Ignored if `ybins.size` is provided.

The 'nbinsy' property is a integer and may be specified as:
The 'nbinsy' property is an integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [0, 9223372036854775807]

Expand All @@ -842,7 +842,7 @@ def ncontours(self):
to the value of `ncontours`. Has an effect only if
`autocontour` is True or if `contours.size` is missing.

The 'ncontours' property is a integer and may be specified as:
The 'ncontours' property is an integer and may be specified as:
- An int (or float that will be cast to an int)
in the interval [1, 9223372036854775807]

Expand Down
2 changes: 1 addition & 1 deletion plotly/graph_objs/_icicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def maxdepth(self):
Sets the number of rendered sectors from any given `level`. Set
`maxdepth` to "-1" to render all the levels in the hierarchy.

The 'maxdepth' property is a integer and may be specified as:
The 'maxdepth' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
2 changes: 1 addition & 1 deletion plotly/graph_objs/_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ def zorder(self):
other SVG traces on the same subplot. SVG traces with higher
`zorder` appear in front of those with lower `zorder`.

The 'zorder' property is a integer and may be specified as:
The 'zorder' property is an integer and may be specified as:
- An int (or float that will be cast to an int)

Returns
Expand Down
Loading
Loading