Update plot.py

This commit is contained in:
crStiv 2026-01-15 16:09:00 +02:00 committed by GitHub
parent 14b82ae6cc
commit b624cbd246
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,7 +175,7 @@ def create_matrix_plot(
colormap_name = config.plotstyle.color_palette
low_is_better = dataframe["evaluation.plot.test_metric_mode"].iloc[0] == "min"
if low_is_better:
colormap_name += "_r" # this will "inver" / "flip" the colorbar
colormap_name += "_r" # this will "invert" / "flip" the colorbar
colormap = sns.color_palette(colormap_name, as_cmap=True)
metric_legend = pretty_name(metric_name)