From 4393098ba9d1f6f4cd2252e357336a6f587795a3 Mon Sep 17 00:00:00 2001 From: "leroux.b" Date: Thu, 28 Nov 2024 12:41:58 +0100 Subject: [PATCH] changed fct.plot to fct.plot_mesh_with_colorbard on line 32 --- callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/callbacks.py b/callbacks.py index 9902b44..87469ce 100644 --- a/callbacks.py +++ b/callbacks.py @@ -29,7 +29,7 @@ def update_figure(value_range, toggle_contours, toggle_black_intervals, selected use_black_intervals = 'on' in toggle_black_intervals center_on_zero = 'on' in center_colormap - fig = fct.plot( + fig = fct.plot_mesh_with_colorbar( vertices, faces, scalars, color_min=min_value, color_max=max_value, camera=camera, show_contours=show_contours, colormap=selected_colormap, use_black_intervals=use_black_intervals, center_colormap_on_zero=center_on_zero