%matplotlib qt5 作用

%matplotlib qt5 作用

一、总结

一句话总结:

%matplotlib qt5 的作用就是激活 qt5 渲染后端:Qt5Agg:Agg rendering in a Qt5 canvas (requires PyQt5). This backend can be activated in IPython with %matplotlib qt5.
%pylab的作用里面也有激活后端的作用,所以无论是用%matplotlib qt5 还是%pylab ,都可以在jupyter notebook中显示出动态图

二、%matplotlib qt5 作用

转自或参考:

Qt5Agg Agg rendering in a Qt5 canvas (requires PyQt5). This backend can be activated in IPython with %matplotlib qt5.

参照:https://matplotlib.org/3.1.1/tutorials/introductory/usage.html

这是官网上面的说明,所以作用就是 %matplotlib qt5 的作用就是激活 qt5 渲染后端

%pylab的作用里面也有激活后端的作用,

所以无论是用%matplotlib qt5 还是%pylab ,都可以在jupyter notebook中显示出动态图

 
我的旨在学过的东西不再忘记(主要使用艾宾浩斯遗忘曲线算法及其它智能学习复习算法)的偏公益性质的完全免费的编程视频学习网站: fanrenyi.com;有各种前端、后端、算法、大数据、人工智能等课程。
博主25岁,前端后端算法大数据人工智能都有兴趣。
大家有啥都可以加博主联系方式(qq404006308,微信fan404006308)互相交流。工作、生活、心境,可以互相启迪。
聊技术,交朋友,修心境,qq404006308,微信fan404006308
26岁,真心找女朋友,非诚勿扰,微信fan404006308,qq404006308
人工智能群:939687837

作者相关推荐

原文地址:https://www.cnblogs.com/Renyi-Fan/p/13861934.html