Oh also, fwiw if you are in a jupyter environment then you can just directly use the ipywidgets FloatText widget as shown here: Usage Guide — mpl-interactions
Oh also, fwiw if you are in a jupyter environment then you can just directly use the ipywidgets FloatText widget as shown here: Usage Guide — mpl-interactions