add colorbar
title (on top/bottom)
#4387
Labels
enhancement
Feature requests and enhancements
Legend & Colorbar
Makie
Backend independent issues (Makie core)
Feature description
It would be cool to have the option to place a
title
(orlabel
, not sure of the most appropriate name) on top (and why not bottom) of verticalcolorbar
. With Matplotlib I would useclb.ax.set_title
. This is useful for short title (like units).So far, the Julia community gave me two tricks on Zulip to do it in simple situation by adding a label manually on top
Label(fig[0,2], text = "Hello")
or creating an empty figure on top.However, in complex situation this does not work simply (I typically use GeoMakie.jl and due to spacing issues I have to use
rowgap!
which move the addedcolobar
title.In any case, a simple title option would be better. Not sure how it would work with horizontal
colorbar
.For plot types, please add an image of how it should look like
Here is an example with Matplotlib (and Cartopy), the
title
place thehPa
on top of thecolobar
.The text was updated successfully, but these errors were encountered: