python matlabplot using in virtulenv

virtulenv 建立后显示matlabplot 需要是framework
解决方法:

import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt

猜你喜欢

转载自www.cnblogs.com/litingyu/p/9780990.html