more fixes
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user