mrgloom
mrgloom

Reputation: 21622

ipywidgets widgets.IntRangeSlider text size

I'm doing some interactive plotting in jupyter notebook using widgets.IntRangeSlider, but text doesn't appear fully visible, how to set size of text area?

Here is a code sample:

interactive_plot = interactive(plot_chart,
                                 val=widgets.IntRangeSlider(value=[0, 300], min=0, max=300, step=10,
                                                           description='Платеж, тыс. руб.',
                                                           continuous_update=False
                                                           )
                              )

Upvotes: 1

Views: 1770

Answers (1)

mrgloom
mrgloom

Reputation: 21622

I found an answer here.

Example:

style = {'description_width': 'initial'}
IntSlider(description='A too long description', style=style)

Upvotes: 1

Related Questions