So, I have this app in which i create a figure using plotly.express.line
and then I use the add_selection()
function like that :
figure.add_selection( x0=0, y0=10, x1=10, y1=0 )
which indeed adds a selection box.
But, the issue is that I want to remove this selection box by script. I tried a lot of things like
figure.update_layout(dragmode= zoom )
but even this doesn t remove the selection box. Is there any functions like figure.clear_selection()
or something like that ?
Thanks a lot :)
Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...