How to use the ipyvuetify.Checkbox function in ipyvuetify

To help you get started, we’ve selected a few ipyvuetify examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vaexio / vaex / packages / vaex-jupyter / vaex / jupyter / viz.py View on Github external
def __init__(self, viz):
            super(type(self), self).__init__(column=True)
            self.viz = viz
            self.ds = self.viz.state.ds
            column_names = self.ds.get_column_names()

            self.x = v.Select(items=column_names, v_model=self.viz.state.x_expression, label='x axis')
            widgets.link((self.viz.state, 'x_expression'), (self.x, 'v_model'))

            self.normalize = v.Checkbox(v_model=self.viz.normalize, label='normalize')
            widgets.link((self.viz, 'normalize'), (self.normalize, 'v_model'))

            self.min = widgets.FloatText(description='min')
            self.max = widgets.FloatText(description='max')
            widgets.link((self.viz.state, 'x_min'), (self.min, 'value'))
            widgets.link((self.viz.state, 'x_max'), (self.max, 'value'))
            
            self.shape = widgets.IntSlider(min=1, max=512, value=64, description='bins')
            widgets.link((self.viz.state, 'shape'), (self.shape, 'value'))

            self.bar_style = widgets.ToggleButtons(options=[('Stacked', 'stacked'), ('Grouped', 'grouped')], description='Bar style')
            widgets.link((self.viz. bar, 'type'), (self.bar_style, 'value'))

            self.children = [self.x, self.normalize, self.min, self.max, self.shape, self.bar_style]
github vaexio / vaex / packages / vaex-jupyter / vaex / jupyter / viz.py View on Github external
def __init__(self, viz):
            super(type(self), self).__init__(column=True)
            self.viz = viz
            self.ds = self.viz.state.ds
            column_names = self.ds.get_column_names()
            self.x = v.Select(items=column_names, v_model=self.viz.state.x_expression, label='x axis')
            widgets.link((self.viz.state, 'x_expression'), (self.x, 'v_model'))

            self.y = v.Select(items=column_names, v_model=self.viz.state.y_expression, label='y axis')
            widgets.link((self.viz.state, 'y_expression'), (self.y, 'v_model'))

            self.normalize = v.Checkbox(label='normalize', v_model=self.viz.normalize)
            widgets.link((self.viz, 'normalize'), (self.normalize, 'v_model'))
            

            self.children = [self.x, self.y, self.normalize]