ipywidgets icon indicating copy to clipboard operation
ipywidgets copied to clipboard

Scroll Bar not displayed using output widgets and IPython.display

Open nmukerje opened this issue 3 years ago • 2 comments
trafficstars

Description

I do not see the scroll bar when I use the output widget. Is this issue not solved yet? Same issue previously reported as https://github.com/jupyter-widgets/ipywidgets/issues/2778

Reproduce

Same snippet as prev issue:

import pandas as pd
from ipywidgets import *
from IPython.display import display
import numpy as np

w_dims = IntSlider()

out = Output()
with out:
    display(pd.DataFrame(np.random.randn(10,300)))

display(HBox([out]))

gives:

No-scrollbar

Expected behavior

import pandas as pd
from ipywidgets import *
from IPython.display import display
import numpy as np
display(pd.DataFrame(np.random.randn(5,300)))

works:

Yes-scrollbar

Context

  • ipywidgets version : 7.6.3
  • Operating System and version: 18.04.1-Ubuntu
  • Browser and version: Firefox 98.0

If using JupyterLab

  • JupyterLab version: Version 3.2.5

Tested in Binder : https://mybinder.org/v2/gh/jupyterlab/jupyterlab-demo/master

Thanks in advance!

nmukerje avatar Mar 12 '22 09:03 nmukerje

Following may help, a new 7.x release for this bugfix would still be really nice though:

https://github.com/jupyter-widgets/ipywidgets/issues/3247#issuecomment-985234929 https://github.com/jupyter-widgets/ipywidgets/issues/3247#issuecomment-985446394 https://github.com/jupyter-widgets/ipywidgets/issues/3322#issuecomment-989811244

azjps avatar Apr 20 '22 04:04 azjps

@azjps The PR (#2500) is now released as part of 8.0, so I'm wondering if this issue is now resolved for 8.x?

The PR is marked as backwards-incompatible, and as such is unlikely to be backported to the 7.x branch.

vidartf avatar Aug 23 '22 13:08 vidartf