Get Axis from Scene

If I have a reference to a scene, how can I get a reference to its corresponding axis?

Take the following case:

fig = Figure()
ax = Axis(fig[1,1])
s = ax.scene

Now if I only have s , how can I get ax?

Intuitively I’ve tried s.parent but that returns another Scene and not an Axis .

To whom it may concern, I got an answer over on slack: It is currently impossible to get a reference to an Axis from a Scene. This is due to how Scenes have been designed historically.

1 Like