Skip to content

Commit

Permalink
update deprecated pandas call
Browse files Browse the repository at this point in the history
pd.scatter_matrix -> pd.plotting.scatter_matrix
  • Loading branch information
downes committed Jul 12, 2017
1 parent af9d6bc commit 4b98f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/brewing-logreg.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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])"
]
},
{
Expand Down

0 comments on commit 4b98f06

Please sign in to comment.