-
Notifications
You must be signed in to change notification settings - Fork 7
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
theme_minimal mistitled #135
Comments
I love the eagle eye. We actually re-export themes directly from the Makie package, so the question here is really whether we should rebuild the theme in TidierPlots to match ggplot2. It's not technically a bug in Makie (since the purpose of Makie isn't to match ggplot2), so it makes sense to address here rather than in the Makie repo. Might be a good first-time PR for someone to tackle as building themes isn't all that difficult. Will let @rdboyes weigh in with additional thoughts. |
It looks like Makie's theme_light is the same as ggplot2 theme_minimal and their theme_minimal is theme_classic in ggplot2 and Makie's theme_latexfonts being quite similar to theme_linedraw and |
That's great to know. One slight shift in our philosophy (from our earlier philosophy of making things exactly match tidyverse) is that we want to play nice with Julia packages that we wrap for folks who are native Julia users (who may have never used R). Since we directly export these functions from Makie, my suggestion here would be for us to mention this in the docs and not to necessarily remap the functions to match ggplot2. |
I think we should document the built-in themes from Makie and include some instructions on customizing the theme, but not change the names of them to match the ggplot ones, unless we give them different names. To easy to have conflicts based on whether or not Makie is loaded, etc. For example |
Describe the bug
TidierPlots.jl provides the function
theme_minimal()
which is supposed to correspond toggplot2::theme_minimal()
however the theme that is provided by TidierPlots.jl is akshually theggplot2::theme_classic()
function.To Reproduce
Expected behavior
theme_minimal()
looks like:Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The text was updated successfully, but these errors were encountered: