-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ValueError: to_rgba: Invalid rgba arg #157
Comments
The bug should have already been fixed in this commit @twiecki would it be possible to know if Alphalens on Quantipian is updated to the latest commit? |
@mushketyk Can you replicate the issue outside Quantopian? I believe the issue was fixed, I cannot replicate that. |
I am closing this. If you can see the problem outside Quantopian please feel free to reopen the issue. |
I find same bug in plot_quantile_average_cumulative_return, |
@wukan1986 Because the bug should have already been fixed in this commit It is important to know if you are facing the issue on Quantopian (old version of Alphalens) or if you are able to replicate the problem outside Quantopian with the most recent version of Alphalens |
@luca-s I reinstall alphalens today, the issue still exist. `Traceback (most recent call last): File "d:\Users\Kan\Anaconda3_64\lib\site-packages\IPython\core\formatters.py", line 307, in call File "d:\Users\Kan\Anaconda3_64\lib\site-packages\IPython\core\pylabtools.py", line 240, in File "d:\Users\Kan\Anaconda3_64\lib\site-packages\IPython\core\pylabtools.py", line 124, in print_figure File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\backend_bases.py", line 2200, in print_figure File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\backends\backend_agg.py", line 545, in print_png File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\backends\backend_agg.py", line 464, in draw File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\artist.py", line 63, in draw_wrapper File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\figure.py", line 1144, in draw File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\image.py", line 139, in _draw_list_compositing_images File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\artist.py", line 63, in draw_wrapper File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\axes_base.py", line 2426, in draw File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\image.py", line 139, in _draw_list_compositing_images File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\artist.py", line 63, in draw_wrapper File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\lines.py", line 803, in draw File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\lines.py", line 1344, in _get_rgba_ln_color File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\colors.py", line 143, in to_rgba File "d:\Users\Kan\Anaconda3_64\lib\site-packages\matplotlib\colors.py", line 194, in _to_rgba_no_colorcycle ValueError: Invalid RGBA argument: 0.0` |
@wukan1986 thanks for double checking and the hint. I will have a look at this issue. |
@wukan1986 I cannot replicate the issue. Could you provide me the minimum amount of code that shows the problem? If you can replicate the issue with the example NBs is fine too. Also, what version of pandas, numpy and matplotlib are you using? |
I try run predictive_vs_non-predictive_factor.ipynb It' s can replicate the issue
|
I cannot replicate the issue. Can you show me the output of web.DataReader? I am using pandas 0.18.2 and I am forced to use google instead of yahoo as the latter doesn't work anymore with old versions of pandas (I didn't try the new ones).
|
google is blocked in china, so i still use yahoo this time.
the two symbols are A and AA Date A AA |
I was able to replicate the issue, thanks @wukan1986 |
This should be fixed now. |
I receive the following error when I use
alphalens
in Quantopian research:Here is code that I have in my notebook.
It displays most of the data and some charts and have a stacktrace among other elements:
The text was updated successfully, but these errors were encountered: