v3.2.1
[3.2.1] - 2018-09-14
This is a patch release that fixes a few bugs and reintroduces a few
version 2 features that were not supported in version 3.
The bundled version of plotly.js remains at 1.40.1
JupyterLab Versions
For use with JupyterLab, the following versions of the following packages
must be installed:
-
Python Packages
- plotly==3.2.1
- ipywidgets>=7.2
- notebook>=5.3
- jupyterlab==0.34
-
JupyterLab Extensions
- [email protected]
- @jupyter-widgets/[email protected]
- @jupyterlab/[email protected]
Added
- An optional
skip_invalidargument has been added to theFigureand
FigureWidgetconstructors. By default,skip_invalidisFalseand invalid
figure properties will result in an exception (this is identical to the
previous behavior). Whenskip_invalidis set toTrue, invalid properties
will instead be silently ignored. This argument replaces the_raise
argument that was available in version 2, and makes it possible to import
figure definitions from different plotly versions, where incompatible
properties are ignored rather than causing an exception. - A
to_ordered_dictmethod has been added to theFigureandFigureWidget
classes. This method returns a representation of the figure as a nested
structure ofOrdererdDictandlistinstances where the keys in each
OrderedDictare sorted alphabetically. This method replaces the
get_orderedmethod that was available in version 2, and makes it possible
to traverse the nested structure of a figure in a deterministic order.
Fixed
- Pandas
SeriesandIndexobjects storingdatetimevalues were
incorrectly cast to numeric arrays
(plotly/plotly.py#1160,
plotly/plotly.py#1163) - Numpy arrays with
uint64datatype caused aFigureWidgeterror,
and no figure was displayed
(plotly/plotly.py#1155,
plotly/plotly.py#1163)