Skip to content

Conversation

TomNicholas
Copy link
Contributor

Attempts to fix #32 by automatically choosing the length of the slider based on the length of the slider label and value text.

There's a unit test which interrogates the figure and checks that the right side of the slider and text are not to the right hand side of the left side of the button.

The result should look something like this:

line1

(This change seems to pass the image comparison tests on my machine even though the slider should be a slightly different size which is odd?)

@ianhi
Copy link
Contributor

ianhi commented Oct 30, 2020

Have you considered a PR of this or something similar to core matplotlib? Being able to constrain a slider + text to be within a certain box is a generically useful feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move play/pause button

2 participants