Unable to generate the heat map

Screen Link:
https://app.dataquest.io/c/41/m/240/guided-project%3A-predicting-house-sale-prices/3/feature-selection

My Code:

import seaborn as sns 
corrmat = numerical_df.corr()
sns.heatmap(corrmat)

What I expected to happen:

I expected it would give me a visual image . But I got just the following line as the output

What actually happened:

<matplotlib.axes._subplots.AxesSubplot at 0x7fc5d0bc7860>

Did you make sure to include and run %matplotlib inline in your Notebook?

That’s most likely the reason why it’s not being displayed.

1 Like