Skip to content

Commit 296cbe6

Browse files
committed
Call plot kind methods instead of passing kind to plot method
1 parent 52e9f2e commit 296cbe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/06-geojupyter/demo.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@
481481
"import pandas as pd\n",
482482
"pd.options.plotting.backend = \"plotly\"\n",
483483
"\n",
484-
"new_haven_redlining_and_ndvi.plot(kind=\"scatter\", y=\"mean_ndvi\", x=\"grade\", color=\"grade\")"
484+
"new_haven_redlining_and_ndvi.plot.scatter(y=\"mean_ndvi\", x=\"grade\", color=\"grade\")"
485485
]
486486
},
487487
{
@@ -501,7 +501,7 @@
501501
"metadata": {},
502502
"outputs": [],
503503
"source": [
504-
"new_haven_redlining_and_ndvi.plot(kind=\"box\", y=\"mean_ndvi\", x=\"grade\", color=\"grade\")"
504+
"new_haven_redlining_and_ndvi.plot.box(y=\"mean_ndvi\", x=\"grade\", color=\"grade\")"
505505
]
506506
},
507507
{

0 commit comments

Comments
 (0)