我是靠谱客的博主 乐观小天鹅,最近开发中收集的这篇文章主要介绍rgba无效php,使用plot()函数时,matplotlib中的RGBA颜色无效“ ro”,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

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”所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(34)

评论列表共有 0 条评论

立即
投稿
返回
顶部