Skip to content

Commit 0e29f9c

Browse files
bump to Plotly.js 2.12.1 (#3721)
1 parent d5b341c commit 0e29f9c

File tree

154 files changed

+3730
-3725
lines changed

Some content is hidden

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

154 files changed

+3730
-3725
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
88
- Improve support for type checking by bypassing lazy-loading when type checking.
99

1010
### Updated
11-
- Updated Plotly.js to from version 2.11.1 to version 2.12.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2120----2022-05-02) for more information. Notable changes include:
11+
- Updated Plotly.js to from version 2.11.1 to version 2.12.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v2.12.1/CHANGELOG.md#2121----2022-05-09) for more information. Notable changes include:
1212
- Add `minor` ticks to cartesian axes
1313
- Add `griddash` option to most axes
1414

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

Lines changed: 3 additions & 3 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.12.0"
68+
"plotly.js": "^2.12.1"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",

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

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

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -868,42 +868,42 @@ def marker(self):
868868
Determines whether the colorscale is a default
869869
palette (`autocolorscale: true`) or the palette
870870
determined by `marker.colorscale`. Has an
871-
effect only if in `marker.color`is set to a
871+
effect only if in `marker.color` is set to a
872872
numerical array. In case `colorscale` is
873873
unspecified or `autocolorscale` is true, the
874-
default palette will be chosen according to
874+
default palette will be chosen according to
875875
whether numbers in the `color` array are all
876876
positive, all negative or mixed.
877877
cauto
878878
Determines whether or not the color ___domain is
879879
computed with respect to the input data (here
880880
in `marker.color`) or the bounds set in
881-
`marker.cmin` and `marker.cmax` Has an effect
882-
only if in `marker.color`is set to a numerical
881+
`marker.cmin` and `marker.cmax` Has an effect
882+
only if in `marker.color` is set to a numerical
883883
array. Defaults to `false` when `marker.cmin`
884884
and `marker.cmax` are set by the user.
885885
cmax
886886
Sets the upper bound of the color ___domain. Has
887-
an effect only if in `marker.color`is set to a
887+
an effect only if in `marker.color` is set to a
888888
numerical array. Value should have the same
889889
units as in `marker.color` and if set,
890890
`marker.cmin` must be set as well.
891891
cmid
892892
Sets the mid-point of the color ___domain by
893893
scaling `marker.cmin` and/or `marker.cmax` to
894894
be equidistant to this point. Has an effect
895-
only if in `marker.color`is set to a numerical
895+
only if in `marker.color` is set to a numerical
896896
array. Value should have the same units as in
897897
`marker.color`. Has no effect when
898898
`marker.cauto` is `false`.
899899
cmin
900900
Sets the lower bound of the color ___domain. Has
901-
an effect only if in `marker.color`is set to a
901+
an effect only if in `marker.color` is set to a
902902
numerical array. Value should have the same
903903
units as in `marker.color` and if set,
904904
`marker.cmax` must be set as well.
905905
color
906-
Sets themarkercolor. It accepts either a
906+
Sets the marker color. It accepts either a
907907
specific color or an array of numbers that are
908908
mapped to the colorscale relative to the max
909909
and min values of the array or relative to
@@ -922,15 +922,15 @@ def marker(self):
922922
r` instance or dict with compatible properties
923923
colorscale
924924
Sets the colorscale. Has an effect only if in
925-
`marker.color`is set to a numerical array. The
925+
`marker.color` is set to a numerical array. The
926926
colorscale must be an array containing arrays
927927
mapping a normalized value to an rgb, rgba,
928928
hex, hsl, hsv, or named color string. At
929929
minimum, a mapping for the lowest (0) and
930930
highest (1) values are required. For example,
931931
`[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.
932932
To control the bounds of the colorscale in
933-
color space, use`marker.cmin` and
933+
color space, use `marker.cmin` and
934934
`marker.cmax`. Alternatively, `colorscale` may
935935
be a palette name string of the following list:
936936
Blackbody,Bluered,Blues,Cividis,Earth,Electric,
@@ -951,15 +951,15 @@ def marker(self):
951951
Sets the pattern within the marker.
952952
reversescale
953953
Reverses the color mapping if true. Has an
954-
effect only if in `marker.color`is set to a
954+
effect only if in `marker.color` is set to a
955955
numerical array. If true, `marker.cmin` will
956956
correspond to the last color in the array and
957957
`marker.cmax` will correspond to the first
958958
color.
959959
showscale
960960
Determines whether or not a colorbar is
961961
displayed for this trace. Has an effect only if
962-
in `marker.color`is set to a numerical array.
962+
in `marker.color` is set to a numerical array.
963963
964964
Returns
965965
-------

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -533,42 +533,42 @@ def marker(self):
533533
Determines whether the colorscale is a default
534534
palette (`autocolorscale: true`) or the palette
535535
determined by `marker.colorscale`. Has an
536-
effect only if in `marker.color`is set to a
536+
effect only if in `marker.color` is set to a
537537
numerical array. In case `colorscale` is
538538
unspecified or `autocolorscale` is true, the
539-
default palette will be chosen according to
539+
default palette will be chosen according to
540540
whether numbers in the `color` array are all
541541
positive, all negative or mixed.
542542
cauto
543543
Determines whether or not the color ___domain is
544544
computed with respect to the input data (here
545545
in `marker.color`) or the bounds set in
546-
`marker.cmin` and `marker.cmax` Has an effect
547-
only if in `marker.color`is set to a numerical
546+
`marker.cmin` and `marker.cmax` Has an effect
547+
only if in `marker.color` is set to a numerical
548548
array. Defaults to `false` when `marker.cmin`
549549
and `marker.cmax` are set by the user.
550550
cmax
551551
Sets the upper bound of the color ___domain. Has
552-
an effect only if in `marker.color`is set to a
552+
an effect only if in `marker.color` is set to a
553553
numerical array. Value should have the same
554554
units as in `marker.color` and if set,
555555
`marker.cmin` must be set as well.
556556
cmid
557557
Sets the mid-point of the color ___domain by
558558
scaling `marker.cmin` and/or `marker.cmax` to
559559
be equidistant to this point. Has an effect
560-
only if in `marker.color`is set to a numerical
560+
only if in `marker.color` is set to a numerical
561561
array. Value should have the same units as in
562562
`marker.color`. Has no effect when
563563
`marker.cauto` is `false`.
564564
cmin
565565
Sets the lower bound of the color ___domain. Has
566-
an effect only if in `marker.color`is set to a
566+
an effect only if in `marker.color` is set to a
567567
numerical array. Value should have the same
568568
units as in `marker.color` and if set,
569569
`marker.cmax` must be set as well.
570570
color
571-
Sets themarkercolor. It accepts either a
571+
Sets the marker color. It accepts either a
572572
specific color or an array of numbers that are
573573
mapped to the colorscale relative to the max
574574
and min values of the array or relative to
@@ -588,15 +588,15 @@ def marker(self):
588588
properties
589589
colorscale
590590
Sets the colorscale. Has an effect only if in
591-
`marker.color`is set to a numerical array. The
591+
`marker.color` is set to a numerical array. The
592592
colorscale must be an array containing arrays
593593
mapping a normalized value to an rgb, rgba,
594594
hex, hsl, hsv, or named color string. At
595595
minimum, a mapping for the lowest (0) and
596596
highest (1) values are required. For example,
597597
`[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.
598598
To control the bounds of the colorscale in
599-
color space, use`marker.cmin` and
599+
color space, use `marker.cmin` and
600600
`marker.cmax`. Alternatively, `colorscale` may
601601
be a palette name string of the following list:
602602
Blackbody,Bluered,Blues,Cividis,Earth,Electric,
@@ -617,15 +617,15 @@ def marker(self):
617617
Sets the pattern within the marker.
618618
reversescale
619619
Reverses the color mapping if true. Has an
620-
effect only if in `marker.color`is set to a
620+
effect only if in `marker.color` is set to a
621621
numerical array. If true, `marker.cmin` will
622622
correspond to the last color in the array and
623623
`marker.cmax` will correspond to the first
624624
color.
625625
showscale
626626
Determines whether or not a colorbar is
627627
displayed for this trace. Has an effect only if
628-
in `marker.color`is set to a numerical array.
628+
in `marker.color` is set to a numerical array.
629629
630630
Returns
631631
-------

packages/python/plotly/plotly/graph_objs/_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ def marker(self):
781781
Supported dict properties:
782782
783783
color
784-
Sets themarkercolor. It accepts either a
784+
Sets the marker color. It accepts either a
785785
specific color or an array of numbers that are
786786
mapped to the colorscale relative to the max
787787
and min values of the array or relative to

packages/python/plotly/plotly/graph_objs/_choropleth.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def autocolorscale(self):
6666
Determines whether the colorscale is a default palette
6767
(`autocolorscale: true`) or the palette determined by
6868
`colorscale`. In case `colorscale` is unspecified or
69-
`autocolorscale` is true, the default palette will be chosen
69+
`autocolorscale` is true, the default palette will be chosen
7070
according to whether numbers in the `color` array are all
7171
positive, all negative or mixed.
7272
@@ -389,7 +389,7 @@ def colorscale(self):
389389
hsv, or named color string. At minimum, a mapping for the
390390
lowest (0) and highest (1) values are required. For example,
391391
`[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`. To control the
392-
bounds of the colorscale in color space, use`zmin` and `zmax`.
392+
bounds of the colorscale in color space, use `zmin` and `zmax`.
393393
Alternatively, `colorscale` may be a palette name string of the
394394
following list: Blackbody,Bluered,Blues,Cividis,Earth,Electric,
395395
Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,RdBu,Reds,Viridis,
@@ -1374,7 +1374,7 @@ def zauto(self):
13741374
"""
13751375
Determines whether or not the color ___domain is computed with
13761376
respect to the input data (here in `z`) or the bounds set in
1377-
`zmin` and `zmax` Defaults to `false` when `zmin` and `zmax`
1377+
`zmin` and `zmax` Defaults to `false` when `zmin` and `zmax`
13781378
are set by the user.
13791379
13801380
The 'zauto' property must be specified as a bool
@@ -1489,7 +1489,7 @@ def _prop_descriptions(self):
14891489
Determines whether the colorscale is a default palette
14901490
(`autocolorscale: true`) or the palette determined by
14911491
`colorscale`. In case `colorscale` is unspecified or
1492-
`autocolorscale` is true, the default palette will be
1492+
`autocolorscale` is true, the default palette will be
14931493
chosen according to whether numbers in the `color`
14941494
array are all positive, all negative or mixed.
14951495
coloraxis
@@ -1509,7 +1509,7 @@ def _prop_descriptions(self):
15091509
a mapping for the lowest (0) and highest (1) values are
15101510
required. For example, `[[0, 'rgb(0,0,255)'], [1,
15111511
'rgb(255,0,0)']]`. To control the bounds of the
1512-
colorscale in color space, use`zmin` and `zmax`.
1512+
colorscale in color space, use `zmin` and `zmax`.
15131513
Alternatively, `colorscale` may be a palette name
15141514
string of the following list: Blackbody,Bluered,Blues,C
15151515
ividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portl
@@ -1707,7 +1707,7 @@ def _prop_descriptions(self):
17071707
zauto
17081708
Determines whether or not the color ___domain is computed
17091709
with respect to the input data (here in `z`) or the
1710-
bounds set in `zmin` and `zmax` Defaults to `false`
1710+
bounds set in `zmin` and `zmax` Defaults to `false`
17111711
when `zmin` and `zmax` are set by the user.
17121712
zmax
17131713
Sets the upper bound of the color ___domain. Value should
@@ -1794,7 +1794,7 @@ def __init__(
17941794
Determines whether the colorscale is a default palette
17951795
(`autocolorscale: true`) or the palette determined by
17961796
`colorscale`. In case `colorscale` is unspecified or
1797-
`autocolorscale` is true, the default palette will be
1797+
`autocolorscale` is true, the default palette will be
17981798
chosen according to whether numbers in the `color`
17991799
array are all positive, all negative or mixed.
18001800
coloraxis
@@ -1814,7 +1814,7 @@ def __init__(
18141814
a mapping for the lowest (0) and highest (1) values are
18151815
required. For example, `[[0, 'rgb(0,0,255)'], [1,
18161816
'rgb(255,0,0)']]`. To control the bounds of the
1817-
colorscale in color space, use`zmin` and `zmax`.
1817+
colorscale in color space, use `zmin` and `zmax`.
18181818
Alternatively, `colorscale` may be a palette name
18191819
string of the following list: Blackbody,Bluered,Blues,C
18201820
ividis,Earth,Electric,Greens,Greys,Hot,Jet,Picnic,Portl
@@ -2012,7 +2012,7 @@ def __init__(
20122012
zauto
20132013
Determines whether or not the color ___domain is computed
20142014
with respect to the input data (here in `z`) or the
2015-
bounds set in `zmin` and `zmax` Defaults to `false`
2015+
bounds set in `zmin` and `zmax` Defaults to `false`
20162016
when `zmin` and `zmax` are set by the user.
20172017
zmax
20182018
Sets the upper bound of the color ___domain. Value should

0 commit comments

Comments
 (0)