我有一个python代码,基本上是这样的:
dataset = loadDataset()
for i, data in enumerate(dataset):
x1, y1 = generateNewPoint1(data)
x2, y2 = generateNewPoint2(data)
x3, y3 = generateNewPoint2(data)
# here update the 3 graphs plotted on the user interface with points (x1,y1), (x2,y2) and (x3,y3)
有没有python库允许我在用户界面上绘制这样的图形?
注意:在界面上,我还想在每次迭代时显示i
的当前值,并允许用户使用“浏览”按钮加载一些数据集。你知道吗
下面是一个示例,它显示了我在迭代5中想要的接口示例,例如:
哪种python库可以让我轻松做到这一点?你知道吗
这篇文章可能对你有帮助。你知道吗
http://eli.thegreenplace.net/2008/08/01/matplotlib-with-wxpython-guis/
相关问题 更多 >
编程相关推荐