mathause / mplotutils

helper functions for cartopy and matplotlib
MIT License
18 stars 3 forks source link

combine `ax1` and `ax2` into `ax` for `mpu.colorbar` #104

Closed mathause closed 6 months ago

mathause commented 6 months ago

We should also set

 def colorbar( 
     mappable, 
     ax: 'matplotlib.axes.Axes | Iterable[matplotlib.axes.Axes],
     *,
     ...
)

(deprecating ax1 and ax2) so that both take ax as argument.

mathause commented 6 months ago

This would also allow to pass all axes and then use the rightmost/ bottommost of them.