-
Notifications
You must be signed in to change notification settings - Fork 14
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
plot_acf
error with >2 objects provided
#159
Labels
invalid ❕
This doesn't seem right
Comments
btw I already have fix for this, I will propose a PR if you wish. |
michkam89
pushed a commit
to michkam89/auditor
that referenced
this issue
Apr 28, 2022
michkam89
added a commit
to michkam89/auditor
that referenced
this issue
Apr 28, 2022
fixed plot_acf() factor issue ModelOriented#159
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, I think I found a minor bug in
plot_acf()
in section creating a dataframe for ggplot.When providing 3 objects to plot the error occurs:
I think this is connected with the fact that
labels
column is character not factor and latercolours <- rev(theme_drwhy_colors(nlevels(df$label)))
returns only 2 colors and the scale is manual and there are three labels.nlevels()
returns zero.Here's my reprex:
The text was updated successfully, but these errors were encountered: