Private
Public Access
1
0

fixing broken tests

This commit is contained in:
2024-04-16 13:30:35 +02:00
parent e6826d75c5
commit 4efe88c56d
2 changed files with 3 additions and 3 deletions

View File

@@ -998,7 +998,7 @@ def interactive_otwcpchart(powerdf, promember=0, rowername="", r=None,
title='', type='water',
wcpower=[], wcdurations=[], cpoverlay=False):
powerdf2 = powerdf.filter(pl.col("Delta") > 0, pl.col("CP") > 0)
powerdf2 = powerdf.filter((pl.col("Delta") > 0) & (pl.col("CP") > 0))
# plot tools
if (promember == 1): # pragma: no cover