From edd5fd6e4c66a2e53ae98e1c5c9fbb68cb32f814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Rey?= Date: Mon, 15 Jun 2026 15:59:42 +0200 Subject: [PATCH] Remove outdated ty ignore comment leading to ty warning --- tests/trajectories/_plotters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/trajectories/_plotters.py b/tests/trajectories/_plotters.py index 5af3bd95..82f18377 100644 --- a/tests/trajectories/_plotters.py +++ b/tests/trajectories/_plotters.py @@ -126,7 +126,7 @@ class ContourCirclesPlotter(MultiPlotter): def __init__(self) -> None: radiuses = [1.0, 2.5, 4, 5.5, 7, 8.5] - colormap = cm.inferno_r # ty:ignore[unresolved-attribute] + colormap = cm.inferno_r norm = mcolors.Normalize(vmin=-1, vmax=max(radiuses)) plotters = tuple(CirclePlotter(radius, colormap(norm(radius))) for radius in radiuses) super().__init__(plotters)