Spaces:
Running
Running
Heatmap: Disabling the drag tool within the heatmap
Browse files- analyze_winscore.py +4 -3
analyze_winscore.py
CHANGED
|
@@ -240,11 +240,12 @@ def create_heatmap(data_matrix, original_scores,
|
|
| 240 |
p = figure(
|
| 241 |
sizing_mode="fixed",
|
| 242 |
width=plot_width,
|
| 243 |
-
height=plot_height,
|
| 244 |
x_range=list(data_matrix.index),
|
| 245 |
-
y_range=list(data_matrix.columns),
|
| 246 |
toolbar_location="below",
|
| 247 |
-
tools="pan,wheel_zoom,box_zoom,reset,save",
|
|
|
|
| 248 |
x_axis_label=x_axis_label,
|
| 249 |
y_axis_label=y_axis_label,
|
| 250 |
)
|
|
|
|
| 240 |
p = figure(
|
| 241 |
sizing_mode="fixed",
|
| 242 |
width=plot_width,
|
| 243 |
+
height=plot_height,
|
| 244 |
x_range=list(data_matrix.index),
|
| 245 |
+
y_range=list(data_matrix.columns),
|
| 246 |
toolbar_location="below",
|
| 247 |
+
tools="pan,wheel_zoom,box_zoom,reset,save",
|
| 248 |
+
active_drag=None,
|
| 249 |
x_axis_label=x_axis_label,
|
| 250 |
y_axis_label=y_axis_label,
|
| 251 |
)
|