Positioning a volume with Makie

Hello, I would like to plot a three-dimensional matrix as a volume at an arbitrary location in space with Makie.jl.

using GLMakie
using AbstractPlotting

x = LinRange(1, 200, 200)
y = LinRange(1, 200, 200)
z = LinRange(10, 40, 30)

A = rand(200, 200, 30)

volume(x, y ,z, A)
LoadError: DimensionMismatch("arrays could not be broadcast to a common size; got a dimension with lengths 200 and 30")

Unfortunately, even with a simple example, I get an error message that I can’t really explain. The volume should only be moved in z-direction. I hope someone can help me, thanks.

mmm… weird, if I run your code, it works.
My version is: GLMakie v0.1.24

using GLMakie
x = LinRange(1, 50, 50)
y = LinRange(1, 50, 50)
z = LinRange(10, 40, 30)
A = rand(50, 50, 30)
fig = volume(x, y ,z, A)
save("./results/FigVolume.png", fig, px_per_unit = 2)
fig

Thank you for your quick reply. Cool thing, I updated GLMakie and now it works for me. I figured it was something simple like that. ^^