Skip to content

Commit

Permalink
FIX: do not use removed private methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tacaswell committed Dec 15, 2015
1 parent f9e405e commit 5601342
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/mpl_toolkits/axes_grid1/colorbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,8 @@ def __init__(self, ax, cmap=None,
if format is None:
if isinstance(self.norm, colors.LogNorm):
# change both axis for proper aspect
self.ax.xaxis.set_scale("log")
self.ax.yaxis.set_scale("log")
self.ax._update_transScale()
self.ax.set_xscale("log")
self.ax.set_yscale("log")
self.cbar_axis.set_minor_locator(ticker.NullLocator())
formatter = ticker.LogFormatter()
else:
Expand Down

0 comments on commit 5601342

Please sign in to comment.