Skip to content
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

Cat_plot converts numeric predictor variable to categorical without warning #65

Open
shan-e-s opened this issue Mar 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@shan-e-s
Copy link

Using 'cat_plot' with a continuous predictor variable converts the predictor into a character variable. This means x axis labels can be very messy as they overlap and its difficult (or maybe impossible) to set breaks so these dont overlap. I had this issue but i eventually realised i should have been using 'interact_plot' instead of 'cat_plot'.

If 'cat_plot' tested for the variables being numeric before plotting and issued a warning that 'interact_plot' is better suited to plotting these variables it might save other users making this same mistake.

Thanks for a great package!

@shan-e-s shan-e-s added the enhancement New feature or request label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant