I have a function that makes a plot using lines/lines!. I can pass observables into the function and get the line x,y,z, and colormap value to update dynamically. The alpha value does not update as an observable.
What is the best way to achieve this?
Here is a minimum working example. Which shows alpha not being updated.
using GLMakie
using ColorSchemes
alpha=y.x.Observable(0.5)
data=Observable(1:10)
lines(data,color=data,colormap=(:lightrainbow,alpha))
alpha[]=1.0