概述
Traceback(most recent call last):File"/usr/lib/python3.7/tkinter/__init__.py",line1705,in__call__returnself.func(*args)File"/usr/local/lib/python3.7/dist-packages/matplotlib/backends/_backend_tk.py",line259,inresize
self.draw()File"/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_tkagg.py",line9,indraw
super(FigureCanvasTkAgg,self).draw()File"/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py",line388,indraw
self.figure.draw(self.renderer)File"/usr/local/lib/python3.7/dist-packages/matplotlib/artist.py",line38,indraw_wrapperreturndraw(artist,renderer,*args,**kwargs)File"/usr/local/lib/python3.7/dist-packages/matplotlib/figure.py",line1709,indraw
renderer,self,artists,self.suppressComposite)File"/usr/local/lib/python3.7/dist-packages/matplotlib/image.py",line135,in_draw_list_compositing_images
a.draw(renderer)File"/usr/local/lib/python3.7/dist-packages/matplotlib/artist.py",line38,indraw_wrapperreturndraw(artist,renderer,*args,**kwargs)File"/usr/local/lib/python3.7/dist-packages/matplotlib/axes/_base.py",line2647,indraw
mimage._draw_list_compositing_images(renderer,self,artists)File"/usr/local/lib/python3.7/dist-packages/matplotlib/image.py",line135,in_draw_list_compositing_images
a.draw(renderer)File"/usr/local/lib/python3.7/dist-packages/matplotlib/artist.py",line38,indraw_wrapperreturndraw(artist,renderer,*args,**kwargs)File"/usr/local/lib/python3.7/dist-packages/matplotlib/lines.py",line783,indraw
lc_rgba=mcolors.to_rgba(self._color,self._alpha)File"/usr/local/lib/python3.7/dist-packages/matplotlib/colors.py",line177,into_rgba
rgba=_to_rgba_no_colorcycle(c,alpha)File"/usr/local/lib/python3.7/dist-packages/matplotlib/colors.py",line233,in_to_rgba_no_colorcycleraiseValueError("Invalid RGBA argument: {!r}".format(orig_c))ValueError:InvalidRGBA argument:'ro'
最后
以上就是乐观小天鹅为你收集整理的rgba无效php,使用plot()函数时,matplotlib中的RGBA颜色无效“ ro”的全部内容,希望文章能够帮你解决rgba无效php,使用plot()函数时,matplotlib中的RGBA颜色无效“ ro”所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复