Skip to content

Heatmaps broken! #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dhirschfeld opened this issue Aug 31, 2017 · 4 comments
Closed

Heatmaps broken! #22

dhirschfeld opened this issue Aug 31, 2017 · 4 comments

Comments

@dhirschfeld
Copy link
Member

On jupyterlab 0.27.0 with the latest jupyter-renderers installed when plotting a heatmap it instead plots a line graph!

What I'm seeing on jupyterlab:
image

What I see locally in nteract:
image

@dhirschfeld
Copy link
Member Author

Test code:

import plotly.graph_objs as go
from plotly.offline import init_notebook_mode, iplot

init_notebook_mode()

trace = go.Heatmap(z=[[1, 20, 30, 50, 1], [20, 1, 60, 80, 30], [30, 60, 1, -10, 20]],
                   x=['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'],
                   y=['Morning', 'Afternoon', 'Evening'])
data=[trace]
iplot(data)

@dhirschfeld
Copy link
Member Author

Just to confirm, Using the same notebook served by the same jupyterhub instance when viewed in jupyterlab (at /lab url) the heatmap renders as a line plot but when viewed in the notebook (at /tree url) the heatmap renders correctly!

This was referenced Sep 10, 2017
@gnestor
Copy link
Collaborator

gnestor commented Sep 16, 2017

Duplicate of #21

@gnestor gnestor marked this as a duplicate of #21 Sep 16, 2017
@gnestor gnestor closed this as completed Sep 16, 2017
@gnestor
Copy link
Collaborator

gnestor commented Sep 26, 2017

I just published @jupyterlab/plotly-extension 0.10.0 which should resolve this issue 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants