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
Linetype tuples don't work. #352
Comments
(The problem seems to be that |
Fixing that (PR upcoming - https://github.com/TyberiusPrime/plotnine/tree/bug_352 for now), reveals another underlying bug where it will only work if you have at least one 'string' linetype in your manual linetype... stay tuned. |
By tradition, pandas does not like non-scalar values in dataframes, so there bugs around cases like these. In fact when I think about it, I expect 2 to 3 cascading fixes just to get this to work. |
There is also one minor issue that a line definition like (0, (20,20) will create a legend entry that looks like a solid line. Don't see how we would fix that though . |
The documentation says scale_linetype_manual, parameters, values:
"Tuples of the form (offset, (on, off, on, off, ....)) e.g. (0, (1, 1)), (1, (2, 2)), (2, (5, 3, 1, 3))"
But that does not work :(.
The text was updated successfully, but these errors were encountered: