__init__.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:caltrac 作者: shiburizu 项目源码 文件源码
def __init__(self, **kwargs):
        super(Plot, self).__init__(**kwargs)
        self.ask_draw = Clock.create_trigger(self.draw)
        self.bind(params=self.ask_draw, points=self.ask_draw)
        self._drawings = self.create_drawings()

    # this function is called by graph whenever any of the parameters
    # change. The plot should be recalculated then.
    # log, min, max indicate the axis settings.
    # size a 4-tuple describing the bounding box in which we can draw
    # graphs, it's (x0, y0, x1, y1), which correspond with the bottom left
    # and top right corner locations, respectively.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号