You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adjusted matplotlib.widgets.Slider to have optional vertical orientatation (matplotlib#10746)
* Adjusted matplotlib.widgets.Slider to have optional vertical orientation.
The slider widget now takes an optional argument (orientation) with
values 'h' or 'v, which defaults to 'h'.
Argument checking is in keeping with the existing code, and the actual
changes to the source are minimal, replacing hspans, hlines and xdata with a
if switch to vspans and vlines and ydata.
* Changed 'h' and 'v' to 'horizontal' and 'vertical'
* Typo corrections so that code is PEP-8 compliant
I forgot that I had not yet installed pyflakes and pylint on my new
system, so my vim syntax checker didn't pick it up.
* Added test for horizontal and vertical orientations
* Corrected typo in my modifications, and made test_widgets.py pep compliant regarding line-continuing indentation
* Adjusted docstring to follow numpydoc
* Added whats new
* Moved what's new section to doc/users/whats_new.rst
* Changed is to ==, and sets to lists
0 commit comments