diff --git a/mcerp/correlate.py b/mcerp/correlate.py index ea78257..56f17ae 100644 --- a/mcerp/correlate.py +++ b/mcerp/correlate.py @@ -131,18 +131,18 @@ def plotcorr(X, plotargs=None, full=True, labels=None): # Set up ticks only on one side for the "edge" subplots... if full: - if ax.is_first_col(): + if ax.get_subplotspec().is_first_col(): ax.yaxis.set_ticks_position("left") - if ax.is_last_col(): + if ax.get_subplotspec().is_last_col(): ax.yaxis.set_ticks_position("right") - if ax.is_first_row(): + if ax.get_subplotspec().is_first_row(): ax.xaxis.set_ticks_position("top") - if ax.is_last_row(): + if ax.get_subplotspec().is_last_row(): ax.xaxis.set_ticks_position("bottom") else: - if ax.is_first_row(): + if ax.get_subplotspec().is_first_row(): ax.xaxis.set_ticks_position("top") - if ax.is_last_col(): + if ax.get_subplotspec().is_last_col(): ax.yaxis.set_ticks_position("right") # Label the diagonal subplots...