Matplotlib often throws an import error if a "backend" is not specified. Here's how to fix (using a backend that works on Mac OS): ```py import matplotlib as mpl # need to add this line mpl.use("TkAgg") # need to add this line import matplotlib.pyplot as plt import matplotlib.ticker as ticker ```