画图出不来
UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
解决:
import matplotlib.pyplot as plt
plt.switch_backend('TkAgg')
okie@https://stackoverflow.com/questions/56656777/userwarning-matplotlib-is-currently-using-agg-which-is-a-non-gui-backend-so