importnetworkxasnetimportmatplotlib.pyplotaspltorgchart=net.read_pajek(*.net)net.draw(orgchart)然后就出现“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怎么解决?
1200字范文,内容丰富有趣,写作的好帮手!