Skip to content

Plotly doesnt render #21

Closed
Closed
@nite

Description

@nite

Hi - I've just installed a fresh lab, fresh plotly extension, and for the following in a python3 notebook I get x & y axis, but no heatmap (renders fine in jupyter notebook). Any ideas?

Extension installed with: jupyter labextension install @jupyterlab/plotly-extension

Test code:

from plotly.graph_objs import *
import plotly.graph_objs as go

py.init_notebook_mode()

trace = go.Heatmap(z=[[1, 20, 30],
                      [20, 1, 60],
                      [30, 60, 1]])
data = [trace]
py.iplot(data, filename='basic-heatmap')```

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