Skip to content

Commit

Permalink
fix #6708
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdraves committed Jan 24, 2018
1 parent 81f749f commit 0fa96c4
Showing 1 changed file with 1 addition and 56 deletions.
57 changes: 1 addition & 56 deletions doc/python/ChartingAPI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -194,63 +194,8 @@
"metadata": {},
"outputs": [],
"source": [
"plot = Plot(title= \"Pandas line\")\n",
"plot.add(Line(displayName=\"Line\", \n",
" x = tableRows.time,\n",
" y=tableRows.m6, \n",
" width=2, \n",
" yAxis=\"Right yAxis\"))\n",
"plot.add(Points(x=tableRows.time, \n",
" y=tableRows.y10, \n",
" size=2, \n",
" shape=ShapeType.DIAMOND,\n",
" yAxis=\"Right yAxis\"))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"x = pd.Series([1, 2, 3, 4, 5, 6, 7])\n",
"y = pd.Series([0, 6, 1, 5, 2, 4, 3])\n",
"plot = Plot(title= \"Pandas Series\")\n",
"plot.add(Line(displayName=\"Series\", \n",
" x = x,\n",
" y= y, \n",
" width=2, \n",
" yAxis=\"Right yAxis\"))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"series = pd.Series([0, 6, 1, 5, 2, 4, 3])\n",
"plot = Plot(title= \"Pandas Series\")\n",
"plot.add(Line(series, displayName=\"Series\", \n",
" width=2, \n",
" yAxis=\"Right yAxis\"))"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"plot = Plot(title= \"Pandas line\")\n",
"plot.add(Line(series, \n",
" displayName=\"Line\", \n",
" width=2, \n",
" yAxis=\"Right yAxis\"))\n",
"plot.add(Points(series, \n",
" size=2, \n",
" shape=ShapeType.DIAMOND,\n",
" yAxis=\"Right yAxis\"))"
"plot.add(Line(y= pd.Series([0, 6, 1, 5, 2, 4, 3]), width=2))"
]
},
{
Expand Down

0 comments on commit 0fa96c4

Please sign in to comment.