Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed variable names for consistency

  • Loading branch information...
commit b5fb5c6b41e659f7a0079d18ff37f2eb41cdf226 1 parent bcdf06f
@pelson authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/matplotlib/ticker.py
View
8 lib/matplotlib/ticker.py
@@ -912,9 +912,9 @@ def __call__(self):
dmin, dmax = self.axis.get_data_interval()
return self.tick_values(dmin, dmax)
- def tick_values(self, dmin, dmax):
+ def tick_values(self, vmin, vmax):
return self.raise_if_exceeds(
- np.arange(dmin + self.offset, dmax+1, self._base))
+ np.arange(vmin + self.offset, vmax+1, self._base))
class FixedLocator(Locator):
@@ -943,7 +943,7 @@ def tick_values(self, vmin, vmax):
.. note::
- Because the values are fixed, dmin and dmax are not used in this method.
+ Because the values are fixed, vmin and vmax are not used in this method.
"""
if self.nbins is None:
@@ -971,7 +971,7 @@ def tick_values(self, vmin, vmax):
.. note::
- Because the values are Null, dmin and dmax are not used in this method.
+ Because the values are Null, vmin and vmax are not used in this method.
"""
return []

0 comments on commit b5fb5c6

Please sign in to comment.
Something went wrong with that request. Please try again.