-
I'm plotting my data, and I want to add a horizontal line, say, at 75% of the maxima, and at 75% of the minima, using the respective fitted models for maxima and minima. I do
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This example is not reproducible because You are also using pyextremes/src/pyextremes/eva.py Lines 1253 to 1259 in 3706ff8 |
Beta Was this translation helpful? Give feedback.
eva.model.distribution
points to instance of classDistribution
specific topyextremes
.eva.model.distribution.distribution
points toscipy.rv_continuous
distribution which has default values for its fit parameters (shapes, loc, scale). These are different classes from different libraries with different interfaces.eva.model.cdf(x)
andeva.model.distribution.get_prop('cdf', x, eva.model.fit_parameters)
would give the same result.Because of that, in your example you are calling the same default scipy distribution with default parameters so results are always going to be the same.
data
is irrelevant here.