I would like to change line attributes inside an already displayed GLMakie screen object.
Below a simple example, unfortunately only the edge of the button changes.
Are there any ideas. The purpose is:
I would like to switch on and of line objects or change their color. Here my snippet:
A simple li.color = :red should do it, the attributes and Axis stuff is unnecessary. What you’re doing I think is replacing the original color observables in the attribute dictionary by going into the internals like that.
Thanks for the suggestion!
Modify: ax.title = "new_text" is possible in side on() do [...] end
but l1.color = :colorname has no effect
I am lucky! l1.visible = false
has an effect, in my case this is sufficient for the moment
Oh, can you open an issue here: new issue?
That sounds like a bug in the on demand renderloop not rendering a new frame, since there really should be no other reason why the color only updates after a visibility change…
It is really strange, I do not know why, today I tried to reproduce the error from yesterday,
but failed. Therefore, under some circumstances, it might be that the change of line attributes
fails and in this case switching visibility off/on might help.