diff --git a/reports/graphs/sleep_pattern.py b/reports/graphs/sleep_pattern.py index 3c00c0bd..78f3c6ea 100644 --- a/reports/graphs/sleep_pattern.py +++ b/reports/graphs/sleep_pattern.py @@ -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,