From b0eb18c23f34d243f6f1d050372287953f99e513 Mon Sep 17 00:00:00 2001 From: Dhruv Madeka Date: Sun, 23 Apr 2017 21:23:02 -0400 Subject: [PATCH] Named Indexing for bqplot bqplot actually supports Mpl type data indexing in the latest version --- notebooks/BQPlot.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/BQPlot.ipynb b/notebooks/BQPlot.ipynb index 22f0398..6a80985 100644 --- a/notebooks/BQPlot.ipynb +++ b/notebooks/BQPlot.ipynb @@ -194,7 +194,7 @@ ], "source": [ "plt.figure()\n", - "plt.scatter(data.Horsepower, data.Miles_per_Gallon, colors=['blue'])\n", + "plt.scatter('Horsepower', 'Miles_per_Gallon', data=data, colors=['blue'])\n", "plt.show()" ] }