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

Getting ready

We will use the example of data on prior work experience of participants in a lateral training program. Experience is measured in number of years. 

Import the required libraries:

import matplotlib.pyplot as plt
import numpy as np