import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
reference:
解决UserWarning: Matplotlib is currently using agg, which is a non-GUI backend_周某某、的博客-CSDN博客
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
reference:
解决UserWarning: Matplotlib is currently using agg, which is a non-GUI backend_周某某、的博客-CSDN博客