pikaa
pikaa
SSolara
Created by pikaa on 3/10/2024 in #questions-issues
Plotly FigureWidget axes do not reset ranges within solara's render context
While this works, it refreshes the widget, meaning any user relayout (i.e. zoom & pan) is lost. I'd ideally like to update the property using an effect to keep the current range during the flip updates.
6 replies
SSolara
Created by pikaa on 3/10/2024 in #questions-issues
Plotly FigureWidget axes do not reset ranges within solara's render context
Here it is. I was hitting character limit, so I just originally sent that snippet. I've additionally added another plot for a basic scatterplot, where it also doesn't unflip.
6 replies
SSolara
Created by artursp. on 1/3/2024 in #questions-issues
Keep zoom state of plotly figure when re-render is triggered.
you can do this by using the on_relayout callback in FigurePlotly by saving the key relayout information (x/y range), then calling upon it when you need it for a redraw
4 replies