Skip to content

Heatmap coloring disappears when resizing notebook window #1573

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
devnoname120 opened this issue May 23, 2019 · 1 comment
Closed

Heatmap coloring disappears when resizing notebook window #1573

devnoname120 opened this issue May 23, 2019 · 1 comment

Comments

@devnoname120
Copy link

plotly_heatmap_resize

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

init_notebook_mode(connected=True)

x = np.random.randn(2000)
y = np.random.randn(2000)
iplot([go.Histogram2dContour(x=x, y=y, contours=dict(coloring='heatmap'))], show_link=False)

How to reproduce:

  • Open a Jupyter notebook, and paste the code above.
  • Run the notebook.
  • Resize the browser window.

Information:

  • Python 3.6.0.
  • Plotly 3.8.1 installed using conda.
  • Reproduced on both Firefox 66.0.5 (64-bit) and Chromium 73.0.3683.86.

Extra information:

noname@noname-pc:~$ conda list | grep -iE 'jupy|ipyt'
ipython                   7.4.0                    pypi_0    pypi
ipython-genutils          0.2.0                    pypi_0    pypi
ipython_genutils          0.2.0                    py36_0  
jupyter_client            5.2.4                    py36_0  
jupyter_core              4.4.0                    py36_0  
@jonmmease
Copy link
Contributor

Thanks for taking the time to make this thorough report @devnoname120, I was able to reproduce this directly in plotly.js, so I'm going to move the issue over there at plotly/plotly.js#3894. Thanks!

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