Skip to content

Commit 126b8a6

Browse files
committed
refactor code
1 parent 25bc444 commit 126b8a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shapiq/plot/beeswarm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def _get_config(row_height: float) -> dict:
9595
"color_rectangle": "#eeeeee",
9696
"alpha_rectangle": 0.5,
9797
}
98-
margin = max(-0.1875 * row_height + 0.3875, 0.15) # 0.35 if row_height < 1 else 0.2
98+
margin = max(-0.1875 * row_height + 0.3875, 0.15)
9999
margin_label = 0.5 - min(row_height / 3, 0.2)
100100
config_dict["margin_plot"] = margin
101101
config_dict["margin_label"] = margin_label

0 commit comments

Comments
 (0)