I am new to UltraPlot and am not sure if this is a bug or an intended behavior.
The inset colorbar's title is not included with the frame if refaspect is set for the figure.
import numpy as np
import ultraplot as uplt
# fig, axs = uplt.subplots(refwidth=4) # ok
fig, axs = uplt.subplots(refaspect=2) # fail
axs.pcolormesh(
np.random.rand(20, 30), vmin=0, vmax=1,
colorbar='ul',
colorbar_kw=dict(
label='title',
),
)
UltraPlot version: '2.0.1'
JupyterLab version: 4.5.4 on MS Edge 145.0.3800.70, Windows11
Jupyter server on Ubuntu 24.04.4