How to edit table data with interactive event in matplotlib

后端 未结 1 501
一整个雨季
一整个雨季 2021-01-20 15:35

A table is created in a figure. Now I want to edit the table after double click at the cell, adding, deleting or revising the data in this cell. Just like the edit function

1条回答
  •  甜味超标
    2021-01-20 16:08

    It seems that you this is not easy to achieve using pure matplotlib functional.

    You should consider looking at qgrid module, which provides interactive Excel-like table editing in Jupyter Notebook.

    Then, if you want to change your graph accordingly, you will need to create some interaction with the table. ipywidgets can really help you with that.

    0 讨论(0)
提交回复
热议问题