Skip to content

Commit

Permalink
MAINT: box-forced -> box for mpl (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksunden authored and untzag committed Sep 13, 2018
1 parent daf285a commit 84efb42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WrightTools/artists/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def add_sideplot(self, along, pad=0, height=0.75, ymin=0, ymax=1.1):
elif along == "y":
ax.set_xlim(ymin, ymax)
ax.autoscale(enable=False)
ax.set_adjustable("box-forced")
ax.set_adjustable("box")
ax.is_sideplot = True
plt.setp(ax.get_xticklabels(), visible=False)
plt.setp(ax.get_yticklabels(), visible=False)
Expand Down
2 changes: 1 addition & 1 deletion WrightTools/artists/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def add_sideplot(
elif along == "y":
axCorr = divider.append_axes("right", height, pad=pad, sharey=ax)
axCorr.autoscale(False)
axCorr.set_adjustable("box-forced")
axCorr.set_adjustable("box")
# bin
if arrs_to_bin is not None:
xi, yi, zi = arrs_to_bin
Expand Down

0 comments on commit 84efb42

Please sign in to comment.