Which seaborn function is used to visualize the correlation matrix as a heatmap?

Data Science with Python Easy

Data Science with Python — Easy

Which seaborn function is used to visualize the correlation matrix as a heatmap?

Key points

  • sns.pairplot() is used to create scatterplot matrices, not correlation heatmaps
  • sns.boxplot() is used to visualize the distribution of a single variable, not correlation matrices
  • sns.distplot() is used to plot univariate distributions, not correlation matrices

Ready to go further?

Related questions