Closed kuhnfe closed 1 year ago
Describe the bug After updating to scipy v1.11.2 I get an error when executing plot_mean_residual_life(data)
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected to see the plot as provided in the tutorial
Screenshots
127 mean_residual_lives.append(exceedances.mean()) 128 if alpha is not None: 129 mrl_confidence.append(
--> 130 scipy.stats.norm.interval( 131 alpha=alpha, 132 loc=exceedances.mean(), 133 scale=exceedances.std(ddof=1) / np.sqrt(len(exceedances)), 134 ) 135 ) 137 with plt.rc_context(rc=pyextremes_rc): 138 if ax is None:
TypeError: interval() missing 1 required positional argument: 'confidence'
Desktop (please complete the following information):
Additional context Thanks!
Describe the bug After updating to scipy v1.11.2 I get an error when executing plot_mean_residual_life(data)
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected to see the plot as provided in the tutorial
Screenshots
--> 130 scipy.stats.norm.interval( 131 alpha=alpha, 132 loc=exceedances.mean(), 133 scale=exceedances.std(ddof=1) / np.sqrt(len(exceedances)), 134 ) 135 ) 137 with plt.rc_context(rc=pyextremes_rc): 138 if ax is None:
TypeError: interval() missing 1 required positional argument: 'confidence'
Desktop (please complete the following information):
Additional context Thanks!