Modifying figures in-place

Good morning :slight_smile: Does Shiny have a recommended mechanism for modifying a (plotly) figure in-place?

Say I have a rather complicated figure with lots of traces. As a response to user input, I'd like to re-calculate and redraw one trace. The desired figure behaviour is that nothing but that single trace is moving, redrawing or flickering, both for speed and for the user to easily see the change. Is there a tidy way to achieve this in Shiny for Python?

As we can run JS in shiny for python you should be able to use Plotly.restyle. I'm currently not aware of a python plotly::plotlyProxy() counterpart.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.