-
Notifications
You must be signed in to change notification settings - Fork 210
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
Parsing issue w/ '~class' in facet_wrap? #28
Labels
Comments
The problem is |
Ah, that makes sense. Thanks! |
has2k1
added a commit
that referenced
this issue
Jul 1, 2017
This is an incomplete fix but it should cover the majority (the simple & obvious) of cases. fixes #28
You rock! Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found this issue when working through Chapter 3 of the "R for Data Science" book (using plotnine). I was working within a Jupyter notebook, using Python 3.6.
I get the interesting error:
Replacing '~class' with '~cyl' gives me a lovely plot, and no error.
To see if Jupyter was contributing to the problem, I created a simple script:
I get a somewhat more involved traceback, but essentially the same error:
Again, if I replace
facet_wrap('~class')
withfacet_wrap('~cyl')
, I get a lovely plot and no error.I'm really looking forward to using plotnine (and finally learning ggplot). Thanks for all of your hard work!
The text was updated successfully, but these errors were encountered: