Skip to content

Update to plotly.js 1.42.0 #1248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 29, 2018
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
  •  
  •  
  •  
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