update deprecated pandas call
authordownes <downes>
Wed, 12 Jul 2017 21:52:53 +0000 (14:52 -0700)
committerdownes <downes>
Wed, 12 Jul 2017 21:52:53 +0000 (14:52 -0700)
pd.scatter_matrix -> pd.plotting.scatter_matrix

examples/brewing-logreg.ipynb

index 4b4cd6a..0f87185 100644 (file)
@@ -78,7 +78,7 @@
     "# Visualize sample of the data\n",
     "ind = np.random.permutation(X.shape[0])[:1000]\n",
     "df = pd.DataFrame(X[ind])\n",
-    "_ = pd.scatter_matrix(df, figsize=(9, 9), diagonal='kde', marker='o', s=40, alpha=.4, c=y[ind])"
+    "_ = pd.plotting.scatter_matrix(df, figsize=(9, 9), diagonal='kde', marker='o', s=40, alpha=.4, c=y[ind])"
    ]
   },
   {