https://www.cnblogs.com/happystudyeveryday/p/13862510.html 解决“python用matplotlib循环取用数据画图内存不够提示Fail to allocate bitmap”的问题