Plot correlation matrix using pandas

You can use pyplot.matshow() from matplotlib: Edit: In the comments was a request for how to change the axis tick labels. Here’s a deluxe version that is drawn on a bigger figure size, has axis labels to match the dataframe, and a colorbar legend to interpret the color scale. I’m including how to adjust the size and rotation … Read more