The results depend on lots more packages than just matplotlib, right? The course notebooks are typically using packages that are pretty out-of-date. Your best bet is to use Anaconda to duplicate the environment. I don’t know Colab, so I don’t know if that is supported or not. Here’s a thread that gives some guidance about how to set up a duplicate environment.