Skip to content

Commit

Permalink
Merge pull request matplotlib#8594 from FedeMiorelli/patch-1
Browse files Browse the repository at this point in the history
FIX: Missing return in LogFormatter._num_to_string()
  • Loading branch information
tacaswell committed May 9, 2017
1 parent 4308d39 commit e273f7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/matplotlib/ticker.py
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,8 @@ def _num_to_string(self, x, vmin, vmax):
s = '%1.0e' % x
else:
s = self.pprint_val(x, vmax - vmin)

return s

def __call__(self, x, pos=None):
"""
Return the format for tick val `x`.
Expand Down

0 comments on commit e273f7e

Please sign in to comment.