When you use ipywidgets to interact with a matplotlib plot, it shows these black scrollbars even when there is no need to scroll:
This is due to this line of CSS, which specifies overflow: scroll on that image element:
|
const divStyle: Record<string, string | number> = { overflow: 'scroll', position: 'relative' }; // `overflow:scroll` is the default style used by Jupyter lab. |
This should be changed to overflow: auto. Not sure what that comment in the code about Jupyterlab means since these scrollbars do not appear in Jupyterlab.
When you use ipywidgets to interact with a matplotlib plot, it shows these black scrollbars even when there is no need to scroll:
This is due to this line of CSS, which specifies
overflow: scrollon that image element:vscode-notebook-renderers/src/client/render.tsx
Line 85 in 06da536
This should be changed to
overflow: auto. Not sure what that comment in the code about Jupyterlab means since these scrollbars do not appear in Jupyterlab.