v2.0.0-pre
Pre-release
Pre-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.PlotlyRequestExceptionis always raised for network
failures. Previously either aPlotlyError,PlotlyRequestException, or a
requests.exceptions.ReqestExceptioncould be raised. In particular, scripts
which depend ontry-exceptblocks containing network requests should be
revisited.plotly.py:sign_innow validates to the plotly server specified in your
config. If it cannot make a successful request, it raises aPlotlyError.plotly.figure_factorywill raise anImportErrorifnumpyis not
installed.
Deprecated
plotly.tools.FigureFactory. Useplotly.figure_factory.*.- (optional imports)
plotly.tools._*_importedIt was private anyhow, but now
it's gone. (e.g.,_numpy_imported) - (plotly v2 helper)
plotly.py._api_v2It was private anyhow, but now it's
gone.