Matplotlib 3.0 Cookbook
上QQ阅读APP看书,第一时间看更新

Getting ready

Let's import the required libraries:

import numpy as np
import matplotlib.pylab as plt
from matplotlib.ticker import FuncFormatter