我想在stratx(https://github.com/parrt/stratx)plot_stratpd 方法产生的图上画一条穿过 0.0 点的水平线。
在这种情况下如何访问左 Y 轴,以便我可以使用y=0.0?
from stratx.partdep import *
X = df.drop('user_retained', axis=1)
y = df['user_retained']
plt.figure(figsize=(16,16), dpi= 80, facecolor='w', edgecolor='k')
plot_stratpd(X, y, 'percentage_of_points', 'user_retained', yrange=(-0.3, 0.6), n_trials=10)
plt.tight_layout()
plt.axhline(y=134, alpha=1, linewidth = 2, linestyle = '-')
plt.show()

