This is what I need to trigger by clicking a button outside of the react Plot component.
Thank you in advance
This is what I need to trigger by clicking a button outside of the react Plot component.
Thank you in advance
You need to pass the state of the button to the component. Then I believe a useEffect with layout update, and the state of button as trigger on use Effect