Skip to content

Commit f00862d

Browse files
authored
Merge pull request #24801 from ksunden/range_slider_callback
Correct docstring of RangeSlider.on_changed
2 parents b968e5a + 6694e37 commit f00862d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ def on_changed(self, func):
945945
----------
946946
func : callable
947947
Function to call when slider is changed. The function
948-
must accept a numpy array with shape (2,) as its argument.
948+
must accept a 2-tuple of floats as its argument.
949949
950950
Returns
951951
-------

0 commit comments

Comments
 (0)