我想编写一个交互式Bezier曲线生成器,唯一的输入是图形上的鼠标单击坐标(使用matplotlib.pyplot)
因此,我想知道如何获取这些坐标,以及如何使用class和self.functions尽可能简单地将它们堆叠在x轴和y轴的两个列表中。
class
self.functions
谢谢 !
双拼
python matplotlib mouseevent coordinates
coordinates ×1
matplotlib ×1
mouseevent ×1
python ×1