✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Custom modeBar Buttons in Python

Is there any way to add buttons to the modeBar in Python with custom functionality? I understand that I might have to write some javascript for the click function, but I still want to be able to add the button in the config of Python.

Secondary question: Is there any way to make the click function call a python function instead of javascript?