Open MarcSkovMadsen opened 1 year ago
Currently you cannot set any parameter to a reference after construction, currently this is only supported in the constructor.
I'd maybe suggest closing this issue and creating a general feature request for this. It's on my to-do list already but I haven't created an issue for it yet.
I'm trying to help a user on discourse who wants his Plotly plot to depend on his selections/ clicks on the plot. See https://discourse.holoviz.org/t/updating-a-selectbox-dependent-plotly-scatterplot-based-on-click-events/5542
If figured I could do that by first creating the widgets and Plotly pane. Then bind the function that creates the figure to these. Finally I could set the object on the Plotly pane.
But that seems not possible. I get
ValueError: Invalid element(s) received for the 'data' property of Invalid elements include: [<function _param_bind..wrapped at 0x000001C4B56B4DC0>]