v2.0.0-pre
Pre-release
Pre-release
theengineear
released this
19 Jan 09:10
·
4540 commits
to master
since this release
[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.