📅  最后修改于: 2022-03-11 14:45:10.948000             🧑  作者: Mango
import matplotlib.pyplot as plt
import matplotlib.style as 'fivethirtyeight'
#Note that we must use the style.use()
#function before we create the graph —
#before calling the plt.plot() function.
#eg
style.use('fivethirtyeight')
plt.plot([1, 2, 3], [5, 2, 7])
plt.show()