title: How to solve module 'pandas' has no attribute 'scatter_matrix' attribute error
body: <p>this is the code which i used but it is giving me the error even after importing scatter_matrix :</p>
  <pre><code>from matplotlib import cm
      from pandas.plotting import scatter_matrix
      X = fruits[['height', 'width', 'mass', 'color_score']]
      y = fruits['fruit_label']
      X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=0)
      
      cmap = cm.get_cmap('gnuplot')
      scatter = pd.scatter_matrix(X_train, c= y_train, marker = 'o', s=40, hist_kwds={'bins':15}, figsize=(9,9), cmap=cmap)
  </code></pre>