From 6a0bd28480e38b1b9e963d5e18daa8a5f6f6a91c Mon Sep 17 00:00:00 2001 From: Benedikt Ehinger Date: Tue, 14 Nov 2023 12:07:43 +0100 Subject: [PATCH] Update plot_topoplot.jl --- src/plot_topoplot.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plot_topoplot.jl b/src/plot_topoplot.jl index 2b3fe2dbb..5df7a5baa 100644 --- a/src/plot_topoplot.jl +++ b/src/plot_topoplot.jl @@ -42,8 +42,9 @@ function plot_topoplot!( clims = (min(plotData...), max(plotData...)) if clims[1] ≈ clims[2] - @warn """automatic colorlimits are the same, maybe all data is identical? Deactivating colorbar. - note: this might lead to an error later about interpolation when actually plotting the topoplot""" + @warn """The min and max of the value represented by the color are the same, it seems that the data values are identical. +We disable the color bar in this figure. +Note: The identical min and max may cause an interpolation error when plotting the topoplot.""" config_kwargs!(config, layout = (; useColorbar=false,showLegend=false)) else config_kwargs!(config, colorbar = (; limits = clims))