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

docs: Describe options that allow the colorbar to appear larger #169

Open
NiallMac opened this issue Nov 30, 2021 · 4 comments
Open

docs: Describe options that allow the colorbar to appear larger #169

NiallMac opened this issue Nov 30, 2021 · 4 comments

Comments

@NiallMac
Copy link

Simple question probably - how to I make the colorbar larger when using enplot? I made the attached with enplot(m, colorbar=True) but the colorbar is too small to read.

image

Thanks!

@zatkins2
Copy link

zatkins2 commented Dec 8, 2021

Try using the downgrade kwarg in enplot. Otherwise I think this is rendering the map "full size" but then whatever environment is actually plotting it reduces the size of the entire image to fit in the window. I guess the size of the colorbar is a fixed number of pixels or something, so by "downgrading" the image it makes the colorbar (and tick marks) larger in relation. It also makes it much faster/less memory to plot and (usually) doesn't sacrifice important details. I've found that downgrade=16 gives good size colorbar/ticks for a full-res ACT map (and downgrade//dg for ACT maps downgraded by a factor dg...)

@AdriJD
Copy link
Contributor

AdriJD commented Dec 8, 2021

The --font-size option (or font_size kwarg in python) allows you to increase the size of the fonts and also increases the size of the colorbar.

@mhasself
Copy link
Member

mhasself commented Dec 8, 2021

It would be great if we left this issue open until this very useful advice is propagated into the docs.

@NiallMac
Copy link
Author

NiallMac commented Dec 8, 2021

Thanks all!

@msyriac msyriac changed the title Make the colorbar larger docs: Describe options that allow the colorbar to appear larger Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants