rte-france / relife

ReLife is an open source Python library for asset management based on reliability theory and lifetime data analysis.
Apache License 2.0
17 stars 2 forks source link

Improve the default label of a ParametricLifetimeDistribution.plot() #4

Open figolus opened 2 years ago

figolus commented 2 years ago

When plotting a ParametricLifetimeDistribution, the plot label is by default the name of the distribution. Would be better to add the name of the function (=fname) by default (ex: "Exponential sf", instead of "Exponential").