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
Using in a scenario similar to #3184, but with matplotlib (ipympl).
It seems like there's an HTML Element between the output widget and the output that sets overflow: hidden in the CSS, overriding with auto makes the scrollbar visible
I have managed to create the desired effect in a Box
Reproduce
clean install jupyterlab ipywidgets
I am not using anaconda - so
1.1. new venv
1.2. activate venv
1.3. python -m pip install -U pip
1.4. python -m pip install -U setuptools
1.5. python -m pip install -U jupyterlab
1.6. python -m pip install -U ipywidgets
Create some widget/s
Display the widgets in an Output widget with shorter width
Note the div with the class: jp-OutputArea-child has visible:hidden overriding for this div with overflow: auto fixes the problem
Note: the first div has the inline style defined using the code below:
In case it helps, I think this is fixed in ipwidgets==8.0.0b0 (or any of the other 8.x pre-releases) due to #2500, or you can try building ipywidgets with the fix locally following something like this.
In case it helps, I think this is fixed in ipwidgets==8.0.0b0 (or any of the other 8.x pre-releases) due to #2500, or you can try building ipywidgets with the fix locally following something like this.
Description
Can't create horizontal scroll on Output widget.
Using in a scenario similar to #3184, but with matplotlib (ipympl).
overflow: hidden
in the CSS, overriding with auto makes the scrollbar visibleReproduce
I am not using anaconda - so
1.1. new venv
1.2. activate venv
1.3.
python -m pip install -U pip
1.4.
python -m pip install -U setuptools
1.5.
python -m pip install -U jupyterlab
1.6.
python -m pip install -U ipywidgets
visible:hidden
overriding for this div withoverflow: auto
fixes the problemNote: the first div has the inline style defined using the code below:
Code:
Expected behavior
The Output widget should display a scrollbar when its content is larger than itself
Context
If using JupyterLab
Installed Labextensions
Workaround
Screenshot
Output:The text was updated successfully, but these errors were encountered: