Skip to content

Commit e46c150

Browse files
committed
[MNT] made backslash in front of fron slash in win tie loss legend and removed spaces
1 parent 7da0924 commit e46c150

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

MCM/MCM.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ def compare(
5555
font_size='auto',
5656
colorbar_orientation='vertical',
5757
colorbar_value=None,
58-
win_label="row > col",
59-
tie_label="row = col",
60-
loss_label="row < col",
58+
win_label="row>col",
59+
tie_label="row=col",
60+
loss_label="row<col",
6161
include_legend=True,
6262
show_symetry=True,
6363
):
@@ -282,9 +282,9 @@ def draw(analysis,
282282
font_size='auto',
283283
colorbar_orientation='vertical',
284284
colorbar_value=None,
285-
win_label='row > col',
286-
tie_label='row = col',
287-
loss_label='row < col',
285+
win_label='row>col',
286+
tie_label='row=col',
287+
loss_label='row<col',
288288
show_symetry=True,
289289
include_legend=True,
290290
):
@@ -396,7 +396,7 @@ def draw(analysis,
396396
else:
397397
cell_legend = ""
398398
p_value_text = ""
399-
longest_string = len(f"{win_label} / {tie_label} / {loss_label}")
399+
longest_string = len(f"{win_label} \ {tie_label} \ {loss_label}")
400400

401401
annot_out = get_annotation(
402402
analysis=analysis,

0 commit comments

Comments
 (0)