You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey!
It would be great if we can add a parameter ( rtax=False,) to each of the plotters
regardless of if fig and ax are provided you can then have it return the axes and figure to use in a broader figure if axes is None: if orientation.startswith('v'): fig, axes = plt.subplots(2,1, sharex=True, **kwargsFig) plt.subplots_adjust(hspace=0.) axes[0].set_ylim(-0.1,1.1) axes[0].yaxis.set_major_formatter(FormatStrFormatter('%.1f')) axes[1].set_ylim(-0.02,utils.getMaxC()) returnAx = True else: fig, axes = plt.subplots(1,2,**kwargsFig) plt.subplots_adjust(wspace=0.35) axes[0].set_ylim(0,1.0) axes[1].set_ylim(0,0.5) returnAx = True else: if rtax: returnAx = True else: returnAx = False
The text was updated successfully, but these errors were encountered:
Hey!
It would be great if we can add a parameter ( rtax=False,) to each of the plotters
regardless of if fig and ax are provided you can then have it return the axes and figure to use in a broader figure
if axes is None: if orientation.startswith('v'): fig, axes = plt.subplots(2,1, sharex=True, **kwargsFig) plt.subplots_adjust(hspace=0.) axes[0].set_ylim(-0.1,1.1) axes[0].yaxis.set_major_formatter(FormatStrFormatter('%.1f')) axes[1].set_ylim(-0.02,utils.getMaxC()) returnAx = True else: fig, axes = plt.subplots(1,2,**kwargsFig) plt.subplots_adjust(wspace=0.35) axes[0].set_ylim(0,1.0) axes[1].set_ylim(0,0.5) returnAx = True else: if rtax: returnAx = True else: returnAx = False
The text was updated successfully, but these errors were encountered: