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

Getting ready

We will plot six graphs with the same data, but setting various options for spines. 

Import the following required libraries:

import numpy as np
import matplotlib.pyplot as plt