-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Remove stat and position arguments from qplot() and formaly deprecate the function #3956
Comments
I’m fine with removing the stat and position args, and starting the deprecation for qplot. |
I think this is a great idea. |
I won't win a popularity contest I guess, but I must say I use #' Create quick and tidy plots
qtplot <- function(data = data, ...) ggplot2::qplot(..., data = data)
mtcars %>% qtplot(mpg, cyl) This is not the battle I will die for, but I wanted to bring another voice. |
In my understanding, though we're deprecating |
Just wanted to add that I really like |
For this sort of context, you might consider using a package that let's you skip having to specifically teach ggplot2 entirely by providing automatic plots for common uses. For example, the easystats packages can produce automatic diagnostic and predictions plots for regression without needing to teach the nuances of ggplot2: https://easystats.github.io/easystats/ |
I find qplot to be extremely useful for multiple uses since it provides a simple intuitive format. Wonder why there is need to deprecate it. If somebody wants a richer and more complicated version, they can always use ggplot! |
Because maintaining the function is more trouble than it is worth and it can hinder users in learning to use the more powerful grammar API. |
I get the first part but not how it can hinder users (if they want to learn the more powerful API, they can!) :) |
You can easily get trapped in a constrained API for longer than needed. The existence of two orthogonal APIs where one of them is severely constrained will def keep some users in the constrained one longer than is good |
stat
andposition
were deprecated 4.5 years ago (v2.0.0), so I think it's time to remove them. I think we have no development bandwidth to fix such tricky bugs like #3670.Also, can we agree on deprecating
qplot()
itself? Though we've never discussed this formally, I believe the use ofqplot()
is discouraged, which virtually means it's deprecated.The text was updated successfully, but these errors were encountered: