fixing test boxplot chart
This commit is contained in:
@@ -673,7 +673,8 @@ class InteractivePlotTests(TestCase):
|
|||||||
self.assertFalse(len(div)==0)
|
self.assertFalse(len(div)==0)
|
||||||
|
|
||||||
def test_interactive_boxchart(self):
|
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')
|
script, div = interactiveplots.interactive_boxchart(df, 'spm')
|
||||||
|
|
||||||
|
|||||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user