Skip to content

Commit dd14c6c

Browse files
committed
Fix infinite range for histplot td score
1 parent b6481b2 commit dd14c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magnipore/magnipore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def plotStatistics(plotting_data : pd.DataFrame, working_dir : str, first_sample
394394

395395
def plotScores(dataframe : pd.DataFrame, working_dir : str, first_sample_label : str, sec_sample_label : str) -> None:
396396

397-
dataframe = dataframe[dataframe['TD Score']>=0] # otherwise logscale range is infinite with lower bound: -infinity
397+
dataframe = dataframe[dataframe['TD Score']>0] # otherwise logscale range is infinite with lower bound: -infinity
398398

399399
colors = {
400400
'False, False':'wheat',

0 commit comments

Comments
 (0)