Skip to content

Commit a9e48c6

Browse files
committed
Bug fix plotly/documentation plotly#1693
1 parent 00c18fd commit a9e48c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/python/custom-buttons.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ import pandas as pd
359359
df = pd.read_csv(
360360
"https://raw.githubusercontent.com/plotly/datasets/master/finance-charts-apple.csv")
361361
df.columns = [col.replace("AAPL.", "") for col in df.columns]
362+
df = df.set_index('Date')
362363

363364
# Initialize figure
364365
fig = go.Figure()

0 commit comments

Comments
 (0)