[Matplotlib-users] Range Slider?

Thomas Caswell tcaswell at gmail.com
Sat Oct 27 13:11:27 EDT 2018


Does not appear to be one, but a PR would be welcome to add one!

I am not sure if that will actually be easy to add though (as the
single-ended slider does not have a notion of 'end' yet or a thumb).   The
way we achieve this functionality in the subplot tool is to have two
sliders (one for the top and one for the bottom) with linked callbacks.

Tom

On Wed, Oct 24, 2018 at 5:29 PM Dieter Werthmüller <dieter at werthmuller.org>
wrote:

> Hi matplotlib users,
>
> Matplotlib has the Slider-widget (matplotlib.widgets.Slider).
>
> Is there a way to achieve a range-slider, hence to have a slider where
> you can drag from both sides and therefore get two values, the minimum
> and the maximum. For instance as it is implemented in the Jupyter
> widgets, see
>
> https://ipywidgets.readthedocs.io/en/stable/examples/Widget%20List.html#IntRangeSlider
>
> Thanks,
> Dieter
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20181027/9c894f67/attachment.html>


More information about the Matplotlib-users mailing list