Results: Minor change.

scenarios
Pierre-Antoine 2026-06-16 16:27:05 +02:00
parent 6ac268b668
commit 7d7a05c04c
1 changed files with 3 additions and 5 deletions

View File

@ -217,15 +217,13 @@ class PlotRKC(PamhyrPlot):
for data in results.get("additional_data"):
data = data._data
tx, ty = data['type_x'], data['type_y']
x, y = data['x'], data['y']
legend = data['legend']
unit = data['unit']
if (
data['type_x'] == 'water_elevation' and
data['type_y'] == 'time'
):
if tx == 'water_elevation' and ty == 'time':
line, = self.canvas.axes.plot(
x, y, marker="+",
label=legend + ' ' + unit