Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9f4c5d0

Browse files
Merge pull request plotly#3346 from plotly/js2.3.1
bump Plotly.js to 2.3.1
2 parents 2d43ac7 + dcbd39f commit 9f4c5d0

File tree

460 files changed

+70663
-70991
lines changed

Some content is hidden

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

460 files changed

+70663
-70991
lines changed

CHANGELOG.md

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

55
## UNRELEASED
66

7+
### Updated
8+
9+
- Updated Plotly.js to from version 2.2.0 to version 2.3.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#231----2021-07-30) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. Notable changes include:
10+
- new projections in `geo` subplots from a more recent version of d3-geo
11+
- new number-formatting directives from a more recent version of d3-format
12+
- performance improvements and bug fixes
713

814
### Added
915
- Extra flags were added to the `gapminder` and `stocks` dataset to facilitate testing, documentation and demos [#3305](https://github.com/plotly/plotly.py/issues/3305)

packages/javascript/jupyterlab-plotly/package-lock.json

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

packages/javascript/jupyterlab-plotly/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@lumino/messaging": "^1.2.3",
6666
"@lumino/widgets": "^1.8.1",
6767
"lodash": "^4.17.4",
68-
"plotly.js": "^2.2.0"
68+
"plotly.js": "^2.3.1"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",

packages/python/plotly/codegen/resources/plot-schema.json

Lines changed: 59235 additions & 59161 deletions
Large diffs are not rendered by default.

packages/python/plotly/plotly/graph_objs/_bar.py

Lines changed: 117 additions & 120 deletions
Large diffs are not rendered by default.

packages/python/plotly/plotly/graph_objs/_barpolar.py

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -304,14 +304,14 @@ def hovertemplate(self):
304304
underscore before or after "(x|y)other" will add a space on
305305
that side, only when this field is shown. Numbers are formatted
306306
using d3-format's syntax %{variable:d3-format}, for example
307-
"Price: %{y:$.2f}". https://github.com/d3/d3-3.x-api-
308-
reference/blob/master/Formatting.md#d3_format for details on
309-
the formatting syntax. Dates are formatted using d3-time-
310-
format's syntax %{variable|d3-time-format}, for example "Day:
311-
%{2019-01-01|%A}". https://github.com/d3/d3-time-
312-
format#locale_format for details on the date formatting syntax.
313-
The variables available in `hovertemplate` are the ones emitted
314-
as event data described at this link
307+
"Price: %{y:$.2f}".
308+
https://github.com/d3/d3-format/tree/v1.4.5#d3-format for
309+
details on the formatting syntax. Dates are formatted using
310+
d3-time-format's syntax %{variable|d3-time-format}, for example
311+
"Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-
312+
format/tree/v2.2.3#locale_format for details on the date
313+
formatting syntax. The variables available in `hovertemplate`
314+
are the ones emitted as event data described at this link
315315
https://plotly.com/javascript/plotlyjs-events/#event-data.
316316
Additionally, every attributes that can be specified per-point
317317
(the ones that are `arrayOk: true`) are available. Anything
@@ -599,9 +599,9 @@ def marker(self):
599599
color space, use`marker.cmin` and
600600
`marker.cmax`. Alternatively, `colorscale` may
601601
be a palette name string of the following list:
602-
Greys,YlGnBu,Greens,YlOrRd,Bluered,RdBu,Reds,Bl
603-
ues,Picnic,Rainbow,Portland,Jet,Hot,Blackbody,E
604-
arth,Electric,Viridis,Cividis.
602+
Blackbody,Bluered,Blues,Cividis,Earth,Electric,
603+
Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,Rd
604+
Bu,Reds,Viridis,YlGnBu,YlOrRd.
605605
colorsrc
606606
Sets the source reference on Chart Studio Cloud
607607
for color .
@@ -1299,15 +1299,15 @@ def _prop_descriptions(self):
12991299
only when this field is shown. Numbers are formatted
13001300
using d3-format's syntax %{variable:d3-format}, for
13011301
example "Price: %{y:$.2f}".
1302-
https://github.com/d3/d3-3.x-api-
1303-
reference/blob/master/Formatting.md#d3_format for
1304-
details on the formatting syntax. Dates are formatted
1305-
using d3-time-format's syntax %{variable|d3-time-
1306-
format}, for example "Day: %{2019-01-01|%A}".
1307-
https://github.com/d3/d3-time-format#locale_format for
1308-
details on the date formatting syntax. The variables
1309-
available in `hovertemplate` are the ones emitted as
1310-
event data described at this link
1302+
https://github.com/d3/d3-format/tree/v1.4.5#d3-format
1303+
for details on the formatting syntax. Dates are
1304+
formatted using d3-time-format's syntax
1305+
%{variable|d3-time-format}, for example "Day:
1306+
%{2019-01-01|%A}". https://github.com/d3/d3-time-
1307+
format/tree/v2.2.3#locale_format for details on the
1308+
date formatting syntax. The variables available in
1309+
`hovertemplate` are the ones emitted as event data
1310+
described at this link
13111311
https://plotly.com/javascript/plotlyjs-events/#event-
13121312
data. Additionally, every attributes that can be
13131313
specified per-point (the ones that are `arrayOk: true`)
@@ -1567,15 +1567,15 @@ def __init__(
15671567
only when this field is shown. Numbers are formatted
15681568
using d3-format's syntax %{variable:d3-format}, for
15691569
example "Price: %{y:$.2f}".
1570-
https://github.com/d3/d3-3.x-api-
1571-
reference/blob/master/Formatting.md#d3_format for
1572-
details on the formatting syntax. Dates are formatted
1573-
using d3-time-format's syntax %{variable|d3-time-
1574-
format}, for example "Day: %{2019-01-01|%A}".
1575-
https://github.com/d3/d3-time-format#locale_format for
1576-
details on the date formatting syntax. The variables
1577-
available in `hovertemplate` are the ones emitted as
1578-
event data described at this link
1570+
https://github.com/d3/d3-format/tree/v1.4.5#d3-format
1571+
for details on the formatting syntax. Dates are
1572+
formatted using d3-time-format's syntax
1573+
%{variable|d3-time-format}, for example "Day:
1574+
%{2019-01-01|%A}". https://github.com/d3/d3-time-
1575+
format/tree/v2.2.3#locale_format for details on the
1576+
date formatting syntax. The variables available in
1577+
`hovertemplate` are the ones emitted as event data
1578+
described at this link
15791579
https://plotly.com/javascript/plotlyjs-events/#event-
15801580
data. Additionally, every attributes that can be
15811581
specified per-point (the ones that are `arrayOk: true`)

0 commit comments

Comments
 (0)