AttributeError: module ‘backend_interagg’ has no attribute ‘FigureCanvas’
原来:
import numpy as np
import matplotlib.pyplot as plt
import math
修改之后
import math
import matplotlib
import matplotlib.pyplot as plt
matplotlib.use(‘TkAgg’)
import numpy as np
希望对大家有帮助,留下你的小♥♥哦!