問題描述:
出現以下情況
UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
% get_backend())
解決辦法,導入下邊這個matplotlib.use('TkAgg')語句就可以了
import matplotlib; matplotlib.use('TkAgg')
問題描述:
出現以下情況
UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
% get_backend())
解決辦法,導入下邊這個matplotlib.use('TkAgg')語句就可以了
import matplotlib; matplotlib.use('TkAgg')