importnetworkxasnetimportmatplotlib.pyplotaspltorgchart=net.read_pajek(*.net)net.draw(orgchart)然后就出現(xiàn)“D:\Anaconda3\lib\site-packages\networkx\drawing\nx_pylab.py:126:MatplotlibDeprecationWarning:pyplot.holdisdeprecated.plotcommandsaddelementswithoutfirstclearingtheAxesand/orFigure.b=plt.ishold()warnings.warn(self.msg_depr_set%key)matplotlib\rcsetup.py:152:UserWarning:axes.holdisdeprecated,willberemovedin3.0怎么解決?
網(wǎng)站導航
- zblogPHP模板zbpkf
- zblog免費模板zblogfree
- zblog模板學習zblogxuexi
- zblogPHP仿站zbpfang