Private
Public Access
1
0

fixing test boxplot chart

This commit is contained in:
2024-04-14 19:32:58 +02:00
parent c3d7afd7af
commit 30fdabd2cd
2 changed files with 2 additions and 1 deletions

View File

@@ -673,7 +673,8 @@ class InteractivePlotTests(TestCase):
self.assertFalse(len(div)==0)
def test_interactive_boxchart(self):
df = pd.read_csv('rowers/tests/testdata/boxplotdata.csv')
df = pl.read_csv('rowers/tests/testdata/boxplotdata.csv')
df = df.with_columns(pl.col("date").apply(lambda x:datetime.datetime.strptime(x, "%Y-%m-%d")))
script, div = interactiveplots.interactive_boxchart(df, 'spm')

Binary file not shown.