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
I use Plotly to create FigureWidgets that I interactively change using ipywidgets like IntSlider for changing the size of the FigureWidget. When the FigureWidget size gets to large horizontally, there is no way to scroll to the right to see what is not being displayed. I am displaying the FigureWidget within the context of an Output widget so I can control where it goes versus being displayed in the current Notebook cell.
Proposed Solution
Auto-detect if content in an Output widget requires a horizontal scrollbar.
Additional context
Here is a visual showing what is happening:
The Output widget is set to AppLayout.center and the Plotly figure widget is being displayed with that Output widgets as so:
This resulted in a scrollbar being present but it will only scroll to the size of the AppLayout center grid.
If I make the Output and Box widget sizes smaller (pixel-wise) I get more scroll bar but it always ends at the same place wrt to the size of the plotly chart inside of it. Do I need to enable the scrollbar on the AppLayout center grid? If so, how is that done?
Problem
I use
Plotly
to createFigureWidgets
that I interactively change usingipywidgets
likeIntSlider
for changing the size of the FigureWidget. When theFigureWidget
size gets to large horizontally, there is no way to scroll to the right to see what is not being displayed. I am displaying theFigureWidget
within the context of anOutput
widget so I can control where it goes versus being displayed in the current Notebook cell.Proposed Solution
Auto-detect if content in an Output widget requires a horizontal scrollbar.
Additional context
Here is a visual showing what is happening:
The
Output
widget is set toAppLayout.center
and the Plotly figure widget is being displayed with thatOutput
widgets as so:I really can't tell if this is a limitation of the
Output
widget, theBox
widget. or theAppLayout
widget.thx
The text was updated successfully, but these errors were encountered: