We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cdc046 commit b6d7441Copy full SHA for b6d7441
doc/users/next_whats_new/sliders_callable_valfmt.rst
@@ -0,0 +1,6 @@
1
+Callable *valfmt* for ``Slider`` and ``RangeSlider``
2
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+In addition to the existing %-format string, the *valfmt* parameter of
5
+`~.matplotlib.widgets.Slider` and `~.matplotlib.widgets.RangeSlider` now
6
+also accepts a callable of the form ``valfmt(val: float) -> str``.
0 commit comments