Graph.py 文件源码

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

项目:TMV3 作者: HenricusRex 项目源码 文件源码
def __init__(self,canvas_,parentframe_,parclass):
        self.parclass = parclass
        # images: Python34\Lib\site-packages\matplotlib\mpl-data\images
        self.toolitems = (
            ('Home', 'original scale', 'home', 'home'),
            #('Back', 'consectetuer adipiscing elit', 'back', 'back'),
            #('Forward', 'sed diam nonummy nibh euismod', 'forward', 'forward'),
            (None, None, None, None),
            ('Pan', 'pan', 'move', 'pan'),
            (None, None, None, None),
            ('Zoom', 'zoom', 'zoom_to_rect', 'zoom'),
            (None, None, None, None),
            ('Print','Print','printer','onPrint'),
            (None, None, None, None),
            ('PDF','PDF','pdf','onPDF'),
            (None, None, None, None),
            #('Subplots', 'putamus parum claram', 'subplots', 'configure_subplots'),
            ('Save', 'save to file', 'filesave', 'save_figure'),
            (None, None, None, None),
            ('ShowPage1', 'show page 1', 'page1', 'onShowPage1'),
            (None, None, None, None),
            ('ShowPage2', 'show page 2', 'page2', 'onShowPage2'),
            (None, None, None, None),
            ('NoVS', 'no VS', 'novs', 'onNoVS'),
            (None, None, None, None),
            (None, None, None, None),
            ('Cursor','Cursor','cursor','onCursor'),
            (None, None, None, None),
            )
        NavigationToolbar.__init__(self,canvas_,parentframe_,False)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号