Skip to content

Commit

Permalink
Update to plotly.js 1.42.0 (plotly#1248)
Browse files Browse the repository at this point in the history
Bump plotly.js version to 1.42.0 and rerun code-generation
  • Loading branch information
jonmmease authored and michaelbabyn committed Dec 22, 2018
1 parent 54cd796 commit 4a7bfd6
Show file tree
Hide file tree
Showing 379 changed files with 41,656 additions and 22,536 deletions.
360 changes: 222 additions & 138 deletions js/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"ify-loader": "^1.1.0"
},
"dependencies": {
"plotly.js": "1.41.3",
"plotly.js": "1.42.0",
"@jupyter-widgets/base": "^1.0.0",
"lodash": "^4.17.4"
},
Expand Down
2 changes: 2 additions & 0 deletions plotly/graph_objs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
from plotly.graph_objs import pie
from ._parcoords import Parcoords
from plotly.graph_objs import parcoords
from ._parcats import Parcats
from plotly.graph_objs import parcats
from ._ohlc import Ohlc
from plotly.graph_objs import ohlc
from ._mesh3d import Mesh3d
Expand Down
22 changes: 14 additions & 8 deletions plotly/graph_objs/_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,8 +1120,10 @@ def textposition(self):
Specifies the location of the `text`. "inside" positions `text`
inside, next to the bar end (rotated and scaled if needed).
"outside" positions `text` outside, next to the bar end (scaled
if needed). "auto" positions `text` inside or outside so that
`text` size is maximized.
if needed), unless there is another bar stacked on this one,
then the text gets pushed inside. "auto" tries to position
`text` inside the bar, but if the bar is too small and no bar
is stacked on this one the text is moved outside.
The 'textposition' property is an enumeration that may be specified as:
- One of the following enumeration values:
Expand Down Expand Up @@ -1672,9 +1674,11 @@ def _prop_descriptions(self):
Specifies the location of the `text`. "inside"
positions `text` inside, next to the bar end (rotated
and scaled if needed). "outside" positions `text`
outside, next to the bar end (scaled if needed). "auto"
positions `text` inside or outside so that `text` size
is maximized.
outside, next to the bar end (scaled if needed), unless
there is another bar stacked on this one, then the text
gets pushed inside. "auto" tries to position `text`
inside the bar, but if the bar is too small and no bar
is stacked on this one the text is moved outside.
textpositionsrc
Sets the source reference on plot.ly for textposition
.
Expand Down Expand Up @@ -1924,9 +1928,11 @@ def __init__(
Specifies the location of the `text`. "inside"
positions `text` inside, next to the bar end (rotated
and scaled if needed). "outside" positions `text`
outside, next to the bar end (scaled if needed). "auto"
positions `text` inside or outside so that `text` size
is maximized.
outside, next to the bar end (scaled if needed), unless
there is another bar stacked on this one, then the text
gets pushed inside. "auto" tries to position `text`
inside the bar, but if the bar is too small and no bar
is stacked on this one the text is moved outside.
textpositionsrc
Sets the source reference on plot.ly for textposition
.
Expand Down
3 changes: 3 additions & 0 deletions plotly/graph_objs/_candlestick.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ def hoverlabel(self):
namelengthsrc
Sets the source reference on plot.ly for
namelength .
split
Show hover information (open, close, high, low)
in separate labels.
Returns
-------
Expand Down
Loading

0 comments on commit 4a7bfd6

Please sign in to comment.