Replace use of deprecated Pandas method.

This commit is contained in:
Christopher C. Wells 2019-08-22 20:12:35 -07:00
parent f3326ac115
commit 3ae4010bb2
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def sleep_pattern(instances):
traces.append(go.Bar(
x=dates,
y=row,
text=text_df.ix[index],
text=text_df.iloc[index],
hoverinfo='text',
marker={'color': color},
showlegend=False,