Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Creating a Colored Matrix

Give Feedback

A heatmap is a type of visualization that looks really cool. matplotlib may not have any kind of heatmap method you can apply to an axes, but you can create a grid of colored squares from a two-dimensional ndarray.

To get started, you’ll need to import an obscure function:

from mpl_toolkits.axes_grid1.axes_divider import make_axes_locatable

Qasim Albaqali on March 17, 2020

I don’t know. This course was a bit difficult to follow. The instructor felt like he was just talking about what he is doing, but not explaining the concepts behind it, and how the things actually work. It was difficult to understand everything that was being done. A lot of new concepts are being introduced that are difficult to grasp. Just my thoughts.

Desmond on April 21, 2020

There are a lot of concepts covered in this presentation. Whenever, I needed some clarification on the functionality of the Matplotlib methods that were used in this presentation, I went to matplotlib.org/users/index.html and searched through the links for Documentation, Examples, and Tutorials. The Examples link has a gallery of plot examples and the source code is available. The Tutorials link covers core ideas with code examples, as well. It’s a lot of material to review, but it looks very promising.

Become a Member to join the conversation.