-
Notifications
You must be signed in to change notification settings - Fork 75
Added lat/lon labels and grid lines #622
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
base: main
Are you sure you want to change the base?
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Rather than linking to the issue, if you type something like closes #575, then the issue will be automatically closed when this PR is merged. |
View / edit / reply to this conversation on ReviewNB edoddridge commented on 2025-09-09T05:07:57Z Line #7. gl = ax.gridlines(draw_labels=True) The specification for which labels to draw isn't working perfectly at the moment. There are two labels that still get plotted on the right (60°N and 60°S) despite the
Unfortunately it seems like there is an issue with cartopy that is making this hard to fix. I think it's probably fine to have the 60° labels printed on the right - they don't get in the way of the colour bar and I haven't been able to work out how to have them only on the left. |
View / edit / reply to this conversation on ReviewNB edoddridge commented on 2025-09-09T05:07:57Z Line #44. 0, 0.95, "(" + string.ascii_lowercase[n] + ")", transform=ax.transAxes, size=16 The subplot labels look a little squished to me - I'd be tempted to bump them up a little farther. |
View / edit / reply to this conversation on ReviewNB edoddridge commented on 2025-09-09T05:07:58Z Adding lines and labels to this plot? |
View / edit / reply to this conversation on ReviewNB edoddridge commented on 2025-09-09T05:07:59Z Add lines and labels to this plot? |
Rather than plotting all the labels and then turning off some of them, you could change the specification in the call to be: |
Also, @adityarn you should add your details in the |
Thanks Ed and Navid. I'll work on the edits and uupdate the PR soon. |
This is in response to an open issue raised as part of the COSIMA 2025 Hackathon. I've added latitude and longitude gridlines and tick labels to the plots.