Code Sample, a copy-pastable example if possible
from pandas.plotting import scatter_matrix
df = pd.DataFrame(np.random.randn(1000, 4), columns=['a', 'b', 'c', 'd'])
scatter_matrix(df,alpha=0.2,figsize=(6, 6),diagonal='kde')
plt.show()
Problem description
ImportError: No module named 'pandas.plotting'
the answer is : from pandas.tools.plotting import scatter_matrix
the document have some mistake ,the link is : http://pandas.pydata.org/pandas-docs/stable/visualization.html
Comment From: TomAugspurger
What's the actual traceback, and what version of pandas to you have? That was moved recently, and you probably have an older version.
Comment From: jreback
closing as cannot reproduce