You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Python_Engine/Python/tests/__init__.py
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
frompathlibimportPath
2
2
importpandasaspd
3
+
importmatplotlibasmpl
4
+
3
5
4
6
# identifier for all downstream processes
5
7
BASE_IDENTIFIER="PythonBHoM_pytest"
@@ -9,4 +11,7 @@ def get_timeseries():
9
11
df=df.set_index(pd.to_datetime(df.index))
10
12
returnpd.Series(df["Value"], index=df.index)
11
13
12
-
TIMESERIES_COLLECTION=get_timeseries()
14
+
TIMESERIES_COLLECTION=get_timeseries()
15
+
16
+
#use 'agg' for testing plot methods, as tkinter occasionally throws strange errors (missing component/library when component isn't missing) when the default backend is used only when using pytest
0 commit comments