问题
使用matplotlib绘图时,报错:This application failed to start because no Qt platform plugin could beinitialized. Reinstalling the application may fix this problem.
Available platform plugins are: minimal, offscreen, webgl, windows.
如图
解决方法:
import matplotlib matplotlib.use('TKAgg')
原回答链接:stackoverflow
标签:because,Qt,platform,no,matplotlib,application,报错 From: https://www.cnblogs.com/value7/p/18628256