示例#1
0
文件: graph.py 项目: sgallet/pychron
    def add_minor_yticks(self, plotid=0, **kw):
        '''
        '''
        p = self.plots[plotid]

        m = MinorTicksOverlay(component=p, orientation='h', **kw)
        p.underlays.append(m)
示例#2
0
    def add_minor_xticks(self, plotid=0, **kw):
        """
        """
        p = self.plots[plotid]
        from pychron.graph.minor_tick_overlay import MinorTicksOverlay

        m = MinorTicksOverlay(component=p, orientation='v', **kw)
        p.underlays.append(m)