Skip to content

Commit 9d20633

Browse files
committed
Update Visualizing data with daru DataFrame.ipynb
1 parent d00b662 commit 9d20633

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Visualization/Visualizing data with daru DataFrame.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,12 +848,12 @@
848848
"# the relevant names of the X and Y axes co-ordinates as an Array into the :x and \n",
849849
"# :y options.This is a simpler and easier way to plot multiple diagrams.\n",
850850
"# \n",
851-
"# As is deomstrated in the previous example, the first argument yields a Nyaplot::Plot\n",
851+
"# As is demonstrated in the previous example, the first argument yields a Nyaplot::Plot\n",
852852
"# object and the second an Array of Nyaplot::Diagram objects. The diagrams are ordered\n",
853853
"# according to the types specified in the `:type` option.\n",
854854
"df.plot type: [:scatter, :line], x: [:fat, :fat], y: [:calories, :y_coords] do |plot, diagrams|\n",
855-
" plot.x_label \"Calories\"\n",
856-
" plot.y_label \"Fat\"\n",
855+
" plot.x_label \"Fat\"\n",
856+
" plot.y_label \"Calories\"\n",
857857
" plot.xrange [0,50]\n",
858858
" \n",
859859
" scatter = diagrams[0]\n",

0 commit comments

Comments
 (0)