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
,contourcarpet
andhistogram2dcontour
to have corresponding legend items usingshowlegend
(plotly/plotly.js#2891,
plotly/plotly.js#2914) - Add scatterpolar and scatterpolargl attributes
r0
,dr
,theta0
anddtheta
(plotly/plotly.js#2895) - Add layout attributes
piecolorway
andextendpiecolors
for more control over pie colors
(plotly/plotly.js#2870) - Add
splom
attributedimensions[i].axis.type
to easily override axis type in splom-generated axes
(plotly/plotly.js#2899) - Add support for on-graph text in
scatterpolargl
traces
(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_image
andwrite_image
functions in the newplotly.io
package (#1120). - New documentation sections covering Static Image Export
and Orca Management - Support for displaying
FigureWidget
instances 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
README
now 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
Series
objects (#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
dash
properties (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.Annotations
class (#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)