Skip to content

v2.0.0-pre

Pre-release
Pre-release
Compare
Choose a tag to compare
@theengineear theengineear released this 19 Jan 09:10
· 4799 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 a PlotlyError, PlotlyRequestException, or a
    requests.exceptions.ReqestException could be raised. In particular, scripts
    which depend on try-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 a PlotlyError.
  • plotly.figure_factory will raise an ImportError if numpy is not
    installed.

Deprecated

  • plotly.tools.FigureFactory. Use plotly.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.