Skip to content

Commit

Permalink
Update plot_cpdb.py
Browse files Browse the repository at this point in the history
Github fix
  • Loading branch information
ali-harasty authored and zktuong committed Jun 28, 2024
1 parent c6766dd commit f7cad12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ktplotspy/plot/plot_cpdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def plot_cpdb(
if df.at[i, "pvals"] < alpha:
df.at[i, "x_means"] = np.nan
if df.at[i, "pvals"] == 0:
df.at[i, "pvals"] = 0.001
df.at[i, "pvals"] = 1**-result_precision
if df.at[i, "pvals"] >= alpha:
if keep_significant_only:
df.at[i, "y_means"] = np.nan
Expand Down

0 comments on commit f7cad12

Please sign in to comment.