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

Request to Add geom_raster Feature of ggplot2 to TidierPlots.jl #127

Open
Jigyasu4indp opened this issue Sep 25, 2024 · 5 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@Jigyasu4indp
Copy link

Dear TidierPlots.jl development team,

I was unable to find the geom_raster feature in TidierPlots.jl. It is possible that this feature already exists, but I might have missed it. Could you please let me know which function includes the geom_raster feature?

If it is not yet included, I kindly request that you consider adding this feature in a future update.

Thank you in advance for your help and all the excellent work on this package!"

@Jigyasu4indp Jigyasu4indp added the enhancement New feature or request label Sep 25, 2024
@rdboyes
Copy link
Member

rdboyes commented Sep 25, 2024

Thanks for trying out tidierplots! Does geom_tile do what you need, or is there a reason you need geom_raster specifically?

https://tidierorg.github.io/TidierPlots.jl/latest/examples/generated/geoms/geom_tile/

@Jigyasu4indp
Copy link
Author

I tried geom_tile, but it does not show the legend. Does it also support geom_sf? Could you please suggest a solution?

@Jigyasu4indp
Copy link
Author

How can I show the color legend in this plot from this link and position it differently, while also having support for geom_sf?

@Jigyasu4indp
Copy link
Author

If possible, please include the features available in this link: https://tmieno2.github.io/R-as-GIS-for-Economists/geom-raster.html.

@rdboyes
Copy link
Member

rdboyes commented Sep 25, 2024

geom_sf is unlikely to be added anytime soon (unless someone else wants to work on it!), since it would require an different implementation in julia and isn't part of base ggplot2. Makie does have support for maps so it is doable though.

Legend improvements will happen sooner - we have an active issue for that: #106

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

2 participants