Releases: plotly/plotly.py
Releases · plotly/plotly.py
v2.0.0
Same as the pre-release, but this one corresponds to the 2.0.0
on PyPI and is the first official 2.x
release. Please note the deprecation section from the changelog (copied below for convenience).
[2.0.0] - 2017-01-25
Changed
plotly.exceptions.PlotlyRequestException
is always raised for network
failures. Previously either aPlotlyError
,PlotlyRequestException
, or a
requests.exceptions.ReqestException
could be raised. In particular, scripts
which depend ontry-except
blocks containing network requests should be
revisited.plotly.py:sign_in
now validates to the plotly server specified in your
config. If it cannot make a successful request, it raises aPlotlyError
.plotly.figure_factory
will raise anImportError
ifnumpy
is not
installed.plotly.figure_factory.create_violin()
now has arugplot
parameter which
determines whether or not a rugplot is draw beside each violin plot.
Deprecated
plotly.tools.FigureFactory
. Useplotly.figure_factory.*
.- (optional imports)
plotly.tools._*_imported
It was private anyhow, but now
it's gone. (e.g.,_numpy_imported
) - (plotly v2 helper)
plotly.py._api_v2
It was private anyhow, but now it's
gone.
v2.0.0-pre
[2.0.0]
Most notably, this changes how exceptions are handled and raised for all network requests. See CHANGELOG.md for more details (copied below for convenience).
Changed
plotly.exceptions.PlotlyRequestException
is always raised for network
failures. Previously either aPlotlyError
,PlotlyRequestException
, or a
requests.exceptions.ReqestException
could be raised. In particular, scripts
which depend ontry-except
blocks containing network requests should be
revisited.plotly.py:sign_in
now validates to the plotly server specified in your
config. If it cannot make a successful request, it raises aPlotlyError
.plotly.figure_factory
will raise anImportError
ifnumpy
is not
installed.
Deprecated
plotly.tools.FigureFactory
. Useplotly.figure_factory.*
.- (optional imports)
plotly.tools._*_imported
It was private anyhow, but now
it's gone. (e.g.,_numpy_imported
) - (plotly v2 helper)
plotly.py._api_v2
It was private anyhow, but now it's
gone.
v1.13.0
[1.13.0] - 2016-01-17
Added
- Python 3.5 has been added as a tested environment for this package.
Updated
plotly.plotly.create_animations
andplotly.plotly.icreate_animations
now return appropriate error messages if the response is not successful.frames
are now integrated into GRAPH_REFERENCE and figure validation.
Changed
- The plot-schema from
https://api.plot.ly/plot-schema
is no longer updated on import.
1.6.12 - stable strict json encoder, ci fixes
- Previous version (1.6.11) of custom json encoder only supported python 2.7.
- Previous PATH env variable in circle needed adjusting to properly run python versions