ValueErrorTraceback(most recent call last)in()7alpha=0.9,8color='#2D014B',---->9width=bar_width10)11ax.bar(bar_l,C:\Users\MYLOCATION\Anaconda3\lib\site-packages\matplotlib\__init__.pyininner(ax,*args,**kwargs)1889warnings.warn(msg%(label_namer,func.__name__),1890RuntimeWarning,stacklevel=2)->1891returnfunc(ax,*args,**kwargs)1892pre_doc=inner.__doc__1893ifpre_docisNone:C:\Users\MYLOCATION\Anaconda3\lib\site-packages\matplotlib\axes\_axes.pyinbar(self,left,height,width,bottom,**kwargs)2077iflen(height)!=nbars:2078raiseValueError("incompatible sizes: argument 'height' "->2079"must be length %d or scalar"%nbars)2080iflen(width)!=nbars:2081raiseValueError("incompatible sizes: argument 'width' "ValueError:incompatible sizes:argument'height'must be length38678orscalar
python百分比堆积条形图_MatPlotLib中100%堆积的条形图
最新推荐文章于 2023-01-18 14:51:44 发布