Yes I guess it should explicitly pass all arguments to image(), which it doesn’t do…
Feel free to suggest a fix
Alternatively, just use an array type that carries both data and arbitrary axis ranges in one object:
using AxisKeysExtra
A = KeyedArray(rand(60, 60), x=range(0..1, length=60), y=range(0..1, length=60))
imagealpha(
A;
alpha=A .^ 1.5,
colormap = :viridis,
interpolate = false,
)
I personally didn’t even notice this limitation of
imagealpha, simply because I tend to use KeyedArrays whenever makes sense.
