question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Description of SelectionRangeSlider is cut

See original GitHub issue

I am using SelectionRangeSlider, but the description is cut off. I tried to change the layout property as described in this thread, but it did not work and still the description is cut: image I also tried to use the style attribute: style = {'description_width': '100px'} but it does not change anything. How can I solve this?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
groegercesgcommented, Jun 30, 2021

Also encountering this issue. Further, am also able to manually fix it through inspect element and putting the max-width to something big, which it then automatically scales down to the appropriate size. Surely there is a way for ipywidgets to do this.

2reactions
Martinscheicommented, Jul 19, 2019

layout = {‘width’: ‘800px’} changes the entire width including (time, the slider and the dates. Since I have the same problem as you do and can’t make the dates completely visible, I found a workaround. I right click the box width the date, and click inspect. image

Then I manually change (max-width from 148px to 300px) I would like to do this permanently since every time I open the notebook it’s reset to default of 148px.

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

ipywidgets Documentation
The following table gives an overview of different widget abbreviations ... SelectionRangeSlider(description='Months (2015)', index=(0, 11), ...
Read more >
1 Jupyter / IPython notebook hints and tips
This notebook provides a brief summary of how to start up and use the ... can keep pressing this short cut to cycle...
Read more >
15 Data Science hacks to speed up analysis - Kaggle
Please see the following documentation for more information on jupyter widgets. ... pressing this short cut to cycle through a few modes of...
Read more >
geemap_and_ipywidgets.ipynb - Colaboratory - Google Colab
options = [(i.strftime('%b'), i) for i in dates] widgets.SelectionRangeSlider( options=options, index=(0, 11), description='Months (2015)', disabled=False
Read more >
iPyWidget - DatePicker interact with SelectionRangeSlider ...
DatePicker( description='', disabled=False, value=end_date ) selection_range_slider = widgets.SelectionRangeSlider( options=options ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found