Skip to content

Commit

Permalink
Update Fitters.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewReid854 committed Jul 27, 2019
1 parent 98c6764 commit 2b6a9ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reliability/Fitters.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ def __init__(self,failures=None,right_censored=None,left_censored=None, sort_by=
show_quantile_plot=True
else:
LC = left_censored
if show_quantile_plot is None:
if show_quantile_plot is True:
warnings.warn('show_quantile_plot has been changed to False because left censored data has been supplied')
show_quantile_plot = False #can't do Kaplan-Meier estimates with left censored data
else:
warnings.warn('show_quantile_plot has been changed to False because left censored data has been supplied')
show_quantile_plot = False #can't do Kaplan-Meier estimates with left censored data
if right_censored is None:
RC = []
Expand Down

0 comments on commit 2b6a9ff

Please sign in to comment.