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):
|
def mkplot(row,title):
|
||||||
df = row.df
|
df = row.df
|
||||||
|
|
||||||
t = df.loc[:,' ElapsedTime (sec)']
|
t = df.loc[:,' ElapsedTime (sec)'].values
|
||||||
p = df.loc[:,' Stroke500mPace (sec/500m)']
|
p = df.loc[:,' Stroke500mPace (sec/500m)'].values
|
||||||
hr = df.loc[:,' HRCur (bpm)']
|
hr = df.loc[:,' HRCur (bpm)'].values
|
||||||
end_time = int(df.loc[:,'TimeStamp (sec)'].iloc[df.shape[0]-1])
|
end_time = int(df.loc[:,'TimeStamp (sec)'].iloc[df.shape[0]-1])
|
||||||
|
|
||||||
fig, ax1 = plt.subplots(figsize=(5,4))
|
fig, ax1 = plt.subplots(figsize=(5,4))
|
||||||
|
|||||||
@@ -18,9 +18,9 @@ import pytest
|
|||||||
from pandas.core.common import SettingWithCopyWarning
|
from pandas.core.common import SettingWithCopyWarning
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
warnings.filterwarnings("error",
|
#warnings.filterwarnings("error",
|
||||||
category=SettingWithCopyWarning
|
# category=FutureWarning
|
||||||
)
|
# )
|
||||||
|
|
||||||
pytestmark = pytest.mark.django_db
|
pytestmark = pytest.mark.django_db
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user