from pandas.tools.plotting import scatter_matrix
Read:
from pandas.plotting import scatter_matrix
reference:
pandas.plotting