You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the promises of Panel and what sets is aside from for example Dash is that it supports a wide range of Python plotting libraries. But I don't think Plotly is truly supported as responsive mode is not well supported. And responsive mode is very important for modern apps.
Concretely I'm trying to show case the power of the awesome panel designer. Not only to design Panel components and applications. But in general as an interactive, exploratory environment for developing python Data Viz using your favorite editor.
But if I want to develop plotly plots they look like below.
If I select another component in the drowdown on the left and select the plotly_carshare_plot component it looks like.
But as you can see there are still problems. This time the plotly plot expands outside of its container both downwards and to the right (I've added a border to the container, so that you can see it.).
If I look at the console I see error messages from Plotly.
Minimum Reproducible Example
I have not been able to reproduce the behaviour shown in the first image in a small example. But I can show that it outgrows the container its in.
Furthermore if I change the size of the browser window the Plotly plot does not resize. I.e. it is not truly responsive.
Panel: 0.9.7
Plotly: 4.9.0
My Pain
One of the promises of Panel and what sets is aside from for example Dash is that it supports a wide range of Python plotting libraries. But I don't think Plotly is truly supported as responsive mode is not well supported. And responsive mode is very important for modern apps.
Concretely I'm trying to show case the power of the awesome panel designer. Not only to design Panel components and applications. But in general as an interactive, exploratory environment for developing python Data Viz using your favorite editor.
But if I want to develop plotly plots they look like below.
If I select another component in the drowdown on the left and select the plotly_carshare_plot component it looks like.
But as you can see there are still problems. This time the plotly plot expands outside of its container both downwards and to the right (I've added a border to the container, so that you can see it.).
If I look at the console I see error messages from Plotly.
Minimum Reproducible Example
I have not been able to reproduce the behaviour shown in the first image in a small example. But I can show that it outgrows the container its in.
Furthermore if I change the size of the browser window the Plotly plot does not resize. I.e. it is not truly responsive.
here I don't get errors in the console
Additional Context
As Plotly is one of the most used plotting libraries in Python I believe this is a major hindrance to the adoption of Panel.
FYI @philippjfr
The text was updated successfully, but these errors were encountered: