Skip to content

Commit 4a7bfd6

Browse files
jonmmeasemichaelbabyn
authored andcommitted
Update to plotly.js 1.42.0 (plotly#1248)
Bump plotly.js version to 1.42.0 and rerun code-generation
1 parent 54cd796 commit 4a7bfd6

File tree

379 files changed

+41656
-22536
lines changed

Some content is hidden

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

379 files changed

+41656
-22536
lines changed

js/package-lock.json

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

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"ify-loader": "^1.1.0"
3232
},
3333
"dependencies": {
34-
"plotly.js": "1.41.3",
34+
"plotly.js": "1.42.0",
3535
"@jupyter-widgets/base": "^1.0.0",
3636
"lodash": "^4.17.4"
3737
},

plotly/graph_objs/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
from plotly.graph_objs import pie
3535
from ._parcoords import Parcoords
3636
from plotly.graph_objs import parcoords
37+
from ._parcats import Parcats
38+
from plotly.graph_objs import parcats
3739
from ._ohlc import Ohlc
3840
from plotly.graph_objs import ohlc
3941
from ._mesh3d import Mesh3d

plotly/graph_objs/_bar.py

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,8 +1120,10 @@ def textposition(self):
11201120
Specifies the location of the `text`. "inside" positions `text`
11211121
inside, next to the bar end (rotated and scaled if needed).
11221122
"outside" positions `text` outside, next to the bar end (scaled
1123-
if needed). "auto" positions `text` inside or outside so that
1124-
`text` size is maximized.
1123+
if needed), unless there is another bar stacked on this one,
1124+
then the text gets pushed inside. "auto" tries to position
1125+
`text` inside the bar, but if the bar is too small and no bar
1126+
is stacked on this one the text is moved outside.
11251127
11261128
The 'textposition' property is an enumeration that may be specified as:
11271129
- One of the following enumeration values:
@@ -1672,9 +1674,11 @@ def _prop_descriptions(self):
16721674
Specifies the location of the `text`. "inside"
16731675
positions `text` inside, next to the bar end (rotated
16741676
and scaled if needed). "outside" positions `text`
1675-
outside, next to the bar end (scaled if needed). "auto"
1676-
positions `text` inside or outside so that `text` size
1677-
is maximized.
1677+
outside, next to the bar end (scaled if needed), unless
1678+
there is another bar stacked on this one, then the text
1679+
gets pushed inside. "auto" tries to position `text`
1680+
inside the bar, but if the bar is too small and no bar
1681+
is stacked on this one the text is moved outside.
16781682
textpositionsrc
16791683
Sets the source reference on plot.ly for textposition
16801684
.
@@ -1924,9 +1928,11 @@ def __init__(
19241928
Specifies the location of the `text`. "inside"
19251929
positions `text` inside, next to the bar end (rotated
19261930
and scaled if needed). "outside" positions `text`
1927-
outside, next to the bar end (scaled if needed). "auto"
1928-
positions `text` inside or outside so that `text` size
1929-
is maximized.
1931+
outside, next to the bar end (scaled if needed), unless
1932+
there is another bar stacked on this one, then the text
1933+
gets pushed inside. "auto" tries to position `text`
1934+
inside the bar, but if the bar is too small and no bar
1935+
is stacked on this one the text is moved outside.
19301936
textpositionsrc
19311937
Sets the source reference on plot.ly for textposition
19321938
.

plotly/graph_objs/_candlestick.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,9 @@ def hoverlabel(self):
244244
namelengthsrc
245245
Sets the source reference on plot.ly for
246246
namelength .
247+
split
248+
Show hover information (open, close, high, low)
249+
in separate labels.
247250
248251
Returns
249252
-------

0 commit comments

Comments
 (0)