Replies: 1 comment
-
Yes, there is no such thing as "where" in finplot's fill between. You unfortunately have to make two separate plots: one for the positive and one for the negative. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am having trouble with the filling colors for the Ichimoku cloud. I would like to fill the cloud with green when the leading Span A is over the leading span B, and red when the leading span A is under the leading span B.
I've seen that with matplotlib is possible to do this with the creation of two separate strings of code, using inside the function fill_between (same as in finplot) a 'when'.
I've tried to replicate it in finplot, but when I run the program I get a TypeError saying that "fill_between() got an unexpected keyword argument 'where' "
Am I missing something?
btw this library rocks!!
Beta Was this translation helpful? Give feedback.
All reactions