Пример #1
0
 def default_traits_view(self):
     base_view = Data2DPlotParams.default_traits_view(self)
     
     return View(Item('alpha',
                      editor = TextEditor(auto_set = False)),
                 Item('s',
                      editor = TextEditor(auto_set = False),
                      label = "Size"),
                 Item('marker'),
                 base_view.content)
Пример #2
0
    def default_traits_view(self):
        base_view = Data2DPlotParams.default_traits_view(self)

        return View(
            Item('gridsize',
                 editor=TextEditor(auto_set=False),
                 label="Grid size"), Item('smoothed', label="Smooth"),
            Item('smoothed_sigma',
                 editor=TextEditor(auto_set=False),
                 label="Smooth\nsigma",
                 visible_when="smoothed == True"), base_view.content)
Пример #3
0
    def default_traits_view(self):
        base_view = Data2DPlotParams.default_traits_view(self)

        return View(
            Item('shade'), Item('min_alpha',
                                editor=TextEditor(auto_set=False)),
            Item('max_alpha', editor=TextEditor(auto_set=False)),
            Item('n_levels',
                 editor=TextEditor(auto_set=False),
                 label="Num\nlevels"), Item('bw', label="Bandwidth"),
            Item('gridsize',
                 editor=TextEditor(auto_set=False),
                 label="Grid size"), base_view.content)