plotly / plotly_express

Plotly Express - Simple syntax for complex charts. Now integrated into plotly.py!
https://plot.ly/python/plotly-express/
MIT License
4 stars 0 forks source link

jupyterlab px.scatter output height #75

Open DmitriyG228 opened 5 years ago

DmitriyG228 commented 5 years ago

I am not sure if it is an issue with px or jupyterlab or my particular configuration, but my jupyterlab px.scatter output cells height are limited to pretty narrow, while, say, px.scatter_mapbox output is correctly shown. It will not go wider than this shown on the screenshot.

px version 0.1.8 jupyter lab version 0.35.4

Screenshot 2019-05-10 at 10 41 09
nicolaskruchten commented 5 years ago

This is pretty strange. You're running this in Jupyterlab? What operating system/browser?

What happens if you assign this to fig and then print(fig.layout.height) ?

DmitriyG228 commented 5 years ago

It's macOS 10.14.3, chrome.

As you may see on the screenshot, fig.layout.height returns 1000 once 1000 is set in the function. I can scroll the legend on the right.

This issue is not the case when using other px functions, i.e. px.scatter_mapbox is rendered fine.

Screenshot 2019-05-10 at 16 59 33
nicolaskruchten commented 5 years ago

OK thanks for that extra info! Is it all scatters or just animated scatters?

DmitriyG228 commented 5 years ago

That is all the same with no animation.

I have attached a link to a short screencast showing how the cell being rendered, that would might be helpful.

https://drive.google.com/open?id=17nt23gFQdpUntHh1XbYgBilHV2gQ-CbR

Thank you for your support!

nicolaskruchten commented 5 years ago

Wow, super-weird. Is this just in JupyterLab? cc @jonmmease ever seen this?

DmitriyG228 commented 5 years ago

yes, this is in JupyterLab