Private
Public Access
1
0

more fixes

This commit is contained in:
Sander Roosendaal
2021-04-28 11:05:53 +02:00
parent 34f98acbc3
commit 65fe9d3727
2 changed files with 6 additions and 6 deletions

View File

@@ -63,9 +63,9 @@ def y_axis_range(ydata,miny=0,padding=.1,ultimate=[-1e9,1e9]):
def mkplot(row,title):
df = row.df
t = df.loc[:,' ElapsedTime (sec)']
p = df.loc[:,' Stroke500mPace (sec/500m)']
hr = df.loc[:,' HRCur (bpm)']
t = df.loc[:,' ElapsedTime (sec)'].values
p = df.loc[:,' Stroke500mPace (sec/500m)'].values
hr = df.loc[:,' HRCur (bpm)'].values
end_time = int(df.loc[:,'TimeStamp (sec)'].iloc[df.shape[0]-1])
fig, ax1 = plt.subplots(figsize=(5,4))

View File

@@ -18,9 +18,9 @@ import pytest
from pandas.core.common import SettingWithCopyWarning
import warnings
warnings.filterwarnings("error",
category=SettingWithCopyWarning
)
#warnings.filterwarnings("error",
# category=FutureWarning
# )
pytestmark = pytest.mark.django_db