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

theme_guide(key.width, key.height) do not work as expected #41

Open
teunbrand opened this issue Dec 18, 2024 · 3 comments
Open

theme_guide(key.width, key.height) do not work as expected #41

teunbrand opened this issue Dec 18, 2024 · 3 comments
Labels
🐛 bug Something isn't working

Comments

@teunbrand
Copy link
Owner

teunbrand commented Dec 18, 2024

Sorry to bother you again.
is there something problem with the height and width adjustment of the colorbar in the theme_guide function provided by legendry?
Using key.width and key.height seems to have no effect. But it is valid to use theme instead of theme_guide .

See details:
stackoverflow-question

Originally posted by @Breeze-Hu in #37 (comment)

@teunbrand teunbrand added the 🐛 bug Something isn't working label Dec 18, 2024
@Breeze-Hu
Copy link

I am sorry about the possibility of interrupting your vacation.

Could you please tell me if there is a possibility that the parameters such as position = 'inside' or theme = theme(legend.position = 'inside) in guide_colbar could be adjusted in the future to be similar to those similar to guide_colorbar in ggplot2.
Right now it doesn't seem to be able to put the colorbar into the panel, and I'm not quite sure if it's the same due to this bug.

@teunbrand
Copy link
Owner Author

Yes it should work similar to guide_colourbar() and will need to be adjusted. This is different than he key width/height, so I've opened a separate issue in #42.

@Breeze-Hu
Copy link

Thank you very much! Looking forward to your subsequent great works! : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants