Skip to content
Illustrating what can change when a dependency is upgraded
Jupyter Notebook
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Create LICENSE Feb 15, 2019 Add launch binder badges to README Feb 15, 2019
matplotlib_versions_demo.ipynb Add matplotlib_versions_demo.ipynb Feb 15, 2019

Matplotlib versions example

This repo demonstrates how versions of Python packages can introduce significant changes to the execution of code that don't necessarily fail.

The upgrade of Matplotlib from version 1.x to 2.x changed the colour maps of the library. This repo has two branches, one with Matplotlib v1.5.0 and another with Matplotlib v2.0.0. The Jupyter Notebook matplotlib_versions_demo.ipynb is common to both of these branches and will demonstrate this difference caused by the version upgrade.

Launch the notebook with Matplotlib v1.5.0: Binder

Launch the notebook with Matplotlib v2.0.0: Binder

NOTE: Each version of Matplotlib has its own Numpy dependency which are different in this scenario.

You can’t perform that action at this time.