From 5866ae71e81a31050f7295b7ddd26ff75d22c4f8 Mon Sep 17 00:00:00 2001 From: s6nistam Date: Fri, 13 Dec 2024 08:07:33 +0100 Subject: [PATCH] Visualization Callback Makie added Labels --- src/callbacks_step/visualization.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/callbacks_step/visualization.jl b/src/callbacks_step/visualization.jl index c95266c860..8ebe69e0ca 100644 --- a/src/callbacks_step/visualization.jl +++ b/src/callbacks_step/visualization.jl @@ -297,11 +297,11 @@ function show_plot_makie(ndims, visualization_callback, plot_data, variable_name figure = visualization_callback.figure if ndims == 2 for v in 1:size(variable_names)[1] - GLMakie.heatmap(figure[makieLayoutHelper(v)...], plot_data.x, plot_data.y, plot_data.data[v]) + GLMakie.heatmap(figure[makieLayoutHelper(v)...], plot_data.x, plot_data.y, plot_data.data[v], axis=(; title = variable_names[v])) end else for v in 1:size(variable_names)[1] - GLMakie.volume(figure[makieLayoutHelper(v)...], plot_data.data[v]) + GLMakie.volume(figure[makieLayoutHelper(v)...], plot_data.data[v], axis=(; title = variable_names[v])) end end GLMakie.display(figure)