Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b5fb5c6

Browse files
committed
Changed variable names for consistency
1 parent bcdf06f commit b5fb5c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/ticker.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -912,9 +912,9 @@ def __call__(self):
912912
dmin, dmax = self.axis.get_data_interval()
913913
return self.tick_values(dmin, dmax)
914914

915-
def tick_values(self, dmin, dmax):
915+
def tick_values(self, vmin, vmax):
916916
return self.raise_if_exceeds(
917-
np.arange(dmin + self.offset, dmax+1, self._base))
917+
np.arange(vmin + self.offset, vmax+1, self._base))
918918

919919

920920
class FixedLocator(Locator):
@@ -943,7 +943,7 @@ def tick_values(self, vmin, vmax):
943943
944944
.. note::
945945
946-
Because the values are fixed, dmin and dmax are not used in this method.
946+
Because the values are fixed, vmin and vmax are not used in this method.
947947
948948
"""
949949
if self.nbins is None:
@@ -971,7 +971,7 @@ def tick_values(self, vmin, vmax):
971971
972972
.. note::
973973
974-
Because the values are Null, dmin and dmax are not used in this method.
974+
Because the values are Null, vmin and vmax are not used in this method.
975975
976976
"""
977977
return []

0 commit comments

Comments
 (0)