Mar 24, 2021
Thanks for the comment! The code assumes you already dragged a plotly graph onto your client form in the app. Then a name is automatically assigned that you can reference in code.
If you are in server code you wouldn't use "self", as self is referring to the form the client loads.