MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_max

Method set_max

lib/matplotlib/widgets.py:977–985  ·  view source on GitHub ↗

Set the lower value of the slider to *max*. Parameters ---------- max : float

(self, max)

Source from the content-addressed store, hash-verified

975 self.set_val((min, self.val[1]))
976
977 def set_max(self, max):
978 """
979 Set the lower value of the slider to *max*.
980
981 Parameters
982 ----------
983 max : float
984 """
985 self.set_val((self.val[0], max))
986
987 def set_val(self, val):
988 """

Callers 1

_update_val_from_posMethod · 0.95

Calls 1

set_valMethod · 0.95

Tested by

no test coverage detected