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

colorbar: ax instead of ax1 & ax2 #107

Merged
merged 6 commits into from
Mar 24, 2024
Merged

colorbar: ax instead of ax1 & ax2 #107

merged 6 commits into from
Mar 24, 2024

Conversation

mathause
Copy link
Owner

That was more difficult than I anticipated. However, (apart from the deprecation), the logic is simplified and more similar to what matplotlib does. Docu is still missing...

f, axs = plt.subplots(...)

h = axs[0].pcolormesh(...)

mpu.colorbar(h, axs)

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@mathause mathause merged commit 585e7da into main Mar 24, 2024
7 checks passed
@mathause mathause deleted the deprecate_ax1_ax2 branch March 24, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

combine ax1 and ax2 into ax for mpu.colorbar
1 participant