【发布时间】:2013-08-19 15:55:48
【问题描述】:
https://github.com/enthought/chaco/blob/master/examples/demo/edit_line.py
我想要的结果是并排有两个图,左边是这个edit_line.py 图,右边显示edit_line.py 和另一个数组中的y 值之和。
现在我可以从PointDraggingTool 中查看self.component.index 和self.component.value(分别为x 和y)。但是,我需要能够根据第一个图的更新来更新第二个图。我将如何聆听第一个情节特征的变化并按该数量更新第二个情节?
【问题讨论】:
标签: python events traits enthought chaco