From 2d8d8604e5704b20533d82564a27ec758d08bdfc Mon Sep 17 00:00:00 2001 From: Henrik Andersson Date: Tue, 27 Jan 2026 20:53:10 +0100 Subject: [PATCH] Remove value-based coloring from tracks in spatial_overview The spatial_overview plot previously colored track observations by their values using a "Reds" colormap. This was confusing because: - There was no colorbar or legend explaining what the colors meant - The purpose of spatial_overview is to show WHERE observations are, not WHAT values they contain Track observations now use a uniform color (matplotlib's default cycle), consistent with how point observations are displayed. --- src/modelskill/plotting/_spatial_overview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modelskill/plotting/_spatial_overview.py b/src/modelskill/plotting/_spatial_overview.py index 10d00c5aa..156af04c1 100644 --- a/src/modelskill/plotting/_spatial_overview.py +++ b/src/modelskill/plotting/_spatial_overview.py @@ -86,7 +86,7 @@ def spatial_overview( ax.scatter(x=o.x, y=o.y, marker="x") elif isinstance(o, TrackObservation): if o.n_points < 10000: - ax.scatter(x=o.x, y=o.y, c=o.values, marker=".", cmap="Reds") + ax.scatter(x=o.x, y=o.y, marker=".") else: print(f"{o.name}: Too many points to plot") # TODO: group by lonlat bin or sample randomly