[docs]@mpl.rc_context(BASE_STYLE)defplot_model_guesses(attempts,pressure,loading,ax=None,):"""Plot one or more isotherm model fits."""forattemptinattempts:ifattempt.model.calculates=='pressure':pts={'y1_points':loading}else:pts={'x_points':pressure}ifnotax:ax=plot_iso(attempts,lgd_pos=None,marker=None,**pts)else:plot_iso(attempts,ax=ax,lgd_pos=None,marker=None,**pts)withmpl.rc_context(POINTS_MUTED):ax.plot(pressure,loading)ax.legend([m.model.nameforminattempts])returnax