Skip to content

pandas plot giving value error in IPython/zmq/pylab/backend_inline.pyc #2588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
brendam opened this issue Dec 23, 2012 · 2 comments
Closed
Labels
Milestone

Comments

@brendam
Copy link
Contributor

brendam commented Dec 23, 2012

Using ipython 0.13.1 and pandas 0.10.0, having both the 'color' and 'style' parameter to pandas.Series.plot() gives a value error in pylab. Not sure if I should report this here or in ipython?

from pandas import *
ts = Series(randn(1000), index=date_range('1/1/2000', periods=1000))
ts = ts.cumsum()
# having color and style causes Value error crash
ts.plot(color='#000099', style='b-')
ValueError: to_rgba: Invalid rgba arg "['#000099']"
need more than 1 value to unpack
@changhiskhan
Copy link
Contributor

I'm putting in a fix right now to not raise the exception but the issue here is that color is specified in both color and style. You can do ts.plot(color='#99') or ts.plot(style='b-') or ts.plot(color='#99', style='-') as a workaround

@wesm
Copy link
Member

wesm commented Jan 19, 2013

closing. thanks chang!

@wesm wesm closed this as completed Jan 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants