Skip to content

Commit

Permalink
fix #6724 recently introduced by my sloppy edit of this tutorial. jus…
Browse files Browse the repository at this point in the history
…t use a literal series instead of a variable that is no longer defined.
  • Loading branch information
scottdraves committed Jan 25, 2018
1 parent 78f93b6 commit 46d8cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/python/ChartingAPI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
"plot = Plot(title= \"Bars\")\n",
"cs = [Color(255, 0, 0, 128)] * 7 # transparent bars\n",
"cs[3] = Color.red # set color of a single bar, solid colored bar\n",
"plot.add(Bars(series, color= cs, outlineColor= Color.black, width= 0.3))"
"plot.add(Bars(pd.Series([0, 6, 1, 5, 2, 4, 3]), color= cs, outlineColor= Color.black, width= 0.3))"
]
},
{
Expand Down

0 comments on commit 46d8cda

Please sign in to comment.