mirror of https://github.com/snachodog/mybuddy.git
Replace use of deprecated Pandas method.
This commit is contained in:
parent
f3326ac115
commit
3ae4010bb2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue