Interactive matplotlib plot with two sliders

前端 未结 6 1257
迷失自我
迷失自我 2020-11-28 02:13

I used matplotlib to create some plot, which depends on 8 variables. I would like to study how the plot changes when I change some of them. I created some s

6条回答
  •  执笔经年
    2020-11-28 03:12

    I don't think that simply plotting graphs using plt.plot will allow you to do this. You will need to yourself make a custom GUI script/app by embedding Matplotlib into it. Currently, Matplotlib supports all the major GUI toolkits - PyGTK+, PyQt4 and wxPython.
    I use wxPython and embedding matplotlib in it is fairly easy. Similar should be case with the other GUI toolkits. You can get all the information you need for this in the book - enter image description here

    It is available on amazon here.

提交回复
热议问题