Skip to content

Commit

Permalink
updating docs for release
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewReid854 committed Jul 23, 2021
1 parent 9ae9331 commit 7e86284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified docs/images/DSZI_example6.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions reliability/Fitters.py
Original file line number Diff line number Diff line change
Expand Up @@ -4106,7 +4106,7 @@ def __init__(
show_scatter_points=False,
**kwargs,
)
plot_points(failures=failures, right_censored=right_censored, **kwargs)

if "label" in kwargs:
label_str = kwargs.pop("label")
else:
Expand All @@ -4122,6 +4122,8 @@ def __init__(
+ str(round_to_decimals(self.ZI, dec))
+ ")"
)
plot_points(failures=failures, right_censored=right_censored, **kwargs)

xvals = np.logspace(
np.log10(min(failures_no_zeros)) - 3,
np.log10(max(failures_no_zeros)) + 1,
Expand Down Expand Up @@ -4750,7 +4752,6 @@ def __init__(
show_scatter_points=False,
**kwargs,
)
plot_points(failures=failures, right_censored=right_censored, **kwargs)
if "label" in kwargs:
label_str = kwargs.pop("label")
else:
Expand All @@ -4764,6 +4765,7 @@ def __init__(
+ str(round_to_decimals(self.ZI, dec))
+ ")"
)
plot_points(failures=failures, right_censored=right_censored, **kwargs)
xvals = np.logspace(
np.log10(min(failures_no_zeros)) - 3,
np.log10(max(failures_no_zeros)) + 1,
Expand Down

0 comments on commit 7e86284

Please sign in to comment.