Skip to content

Local offline mode does not work in Jupyter Notebook 5 #730

@omerbenamram

Description

@omerbenamram

Hi!

After upgrading jupyter notebook to v5 -
when using plotly with init_notebook_mode(connected=False) (which is the default flag), with each call to iplot an exception is raised

Uncaught Error: Script error for "plotly"
http://requirejs.org/docs/errors.html#scripterror
    at makeError (require.js:165)
    at HTMLScriptElement.onScriptError (require.js:1732)

The canvas is still drawn but it's white.
when reverting to notebook v4.3.2, plotly works again.

Note that if using connected=True (which will fetch plotly.js from the CDN) it will work.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions