plotly_express icon indicating copy to clipboard operation
plotly_express copied to clipboard

jupyterlab px.scatter output height

Open DmitriyG228 opened this issue 6 years ago • 6 comments

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

DmitriyG228 avatar May 10 '19 07:05 DmitriyG228

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) ?

nicolaskruchten avatar May 10 '19 13:05 nicolaskruchten

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

DmitriyG228 avatar May 10 '19 14:05 DmitriyG228

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

nicolaskruchten avatar May 10 '19 14:05 nicolaskruchten

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!

DmitriyG228 avatar May 10 '19 15:05 DmitriyG228

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

nicolaskruchten avatar May 13 '19 15:05 nicolaskruchten

yes, this is in JupyterLab

DmitriyG228 avatar May 18 '19 15:05 DmitriyG228