v3.2.0
[3.2.0] - 2018-09-05
This release introduces the long-anticipated ability to programmatically
export figures as high quality static images in both raster and vector
formats.
JupyterLab Versions
For use with JupyterLab, the following versions of the following packages
must be installed:
-
Python Packages
- plotly==3.2.0
- ipywidgets>=7.2
- notebook>=5.3
- jupyterlab==0.34
-
JupyterLab Extensions
- plotlywidget@0.3.0
- @jupyter-widgets/jupyterlab-manager@0.37
- @jupyterlab/plotly-extension@0.17
Added
- plotly.js version 1.40.1, which introduces the following features:
- Allow
contour,contourcarpetandhistogram2dcontourto have corresponding legend items usingshowlegend
(plotly/plotly.js#2891,
plotly/plotly.js#2914) - Add scatterpolar and scatterpolargl attributes
r0,dr,theta0anddtheta
(plotly/plotly.js#2895) - Add layout attributes
piecolorwayandextendpiecolorsfor more control over pie colors
(plotly/plotly.js#2870) - Add
splomattributedimensions[i].axis.typeto easily override axis type in splom-generated axes
(plotly/plotly.js#2899) - Add support for on-graph text in
scatterpolargltraces
(plotly/plotly.js#2895) - See the plotly.js CHANGELOG
for bug fixes and more information.
- Allow
- Support for offline static image export with the
to_imageandwrite_image
functions in the newplotly.iopackage (#1120). - New documentation sections covering Static Image Export
and Orca Management - Support for displaying
FigureWidgetinstances in static contexts
(e.g. nbviewer) just like the built-in ipywidgets
(#1117) - Full integration of the Cividis colorscale (#883)
- conda packaging
- From here forward, new versions of plotly.py will be published to the plotly anaconda channel
on the same day they are published to PyPI.
(72ad0e4) - The
READMEnow includes conda installation instructions alongside the pip instructions. - In addition to the existing installation approaches, orca is now also available as a
conda package from the plotly anaconda channel.
- From here forward, new versions of plotly.py will be published to the plotly anaconda channel
Updated
- Show traces at the top of the Gantt chart's colorbar (#1110)
- Significantly improved validation performance for numeric pandas
Seriesobjects (#1149) - Specialize auto-generated docstrings for Python syntax
- More robust and specific logic for retrying requests to the plot.ly cloud service (#1146)
- Support basic authentication when using the streaming API behind a proxy server (#1133)
Fixed
- Validators for
dashproperties (e.g.scatter.line.dash) incorrectly rejected dash length lists (#1136) - Annotated heatmap error when custom colorscale was specified (#1151)
- Incorrect deprecation warning for deprecated
plotly.graph_objs.Annotationsclass (#1138) - Harmless JavaScript console error when opening an html file produced by
plotly.offline.plot(#1152) - Incorrect validation errors when writing data to the streaming API (#1145)