Skip to content

Commit

Permalink
Changed variable names for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
pelson committed Aug 13, 2012
1 parent bcdf06f commit b5fb5c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/matplotlib/ticker.py
Expand Up @@ -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):
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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 []
Expand Down

0 comments on commit b5fb5c6

Please sign in to comment.