We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bf19f3 commit 91e2043Copy full SHA for 91e2043
src/rtichoke/helpers/plotly_helper_functions.py
@@ -25,6 +25,21 @@
25
"ppcr": "Predicted Positives",
26
}
27
28
+DEFAULT_MODEBAR_BUTTONS_TO_REMOVE = [
29
+ "zoom2d",
30
+ "pan2d",
31
+ "select2d",
32
+ "lasso2d",
33
+ "zoomIn2d",
34
+ "zoomOut2d",
35
+ "autoScale2d",
36
+ "resetScale2d",
37
+ "hoverClosestCartesian",
38
+ "hoverCompareCartesian",
39
+ "toggleSpikelines",
40
+ "toImage",
41
+]
42
+
43
44
def _create_rtichoke_plotly_curve_binary(
45
probs: Dict[str, np.ndarray],
@@ -1987,6 +2002,7 @@ def _create_curve_layout(
1987
2002
1988
2003
],
1989
2004
"sliders": sliders,
2005
+ "modebar": {"remove": list(DEFAULT_MODEBAR_BUTTONS_TO_REMOVE)},
1990
2006
1991
2007
1992
2008
if axes_ranges is not None:
0 commit comments