Skip to content

Commit

Permalink
Fix views UI
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 1, 2024
1 parent 3588233 commit 1484f9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lumen/ui/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def render(self):
pipeline = lm_state.pipelines[kwargs.pop('pipeline', self.pipeline)]
if 'sizing_mode' not in kwargs:
kwargs['sizing_mode'] = 'stretch_width'
kwargs.pop('type', None)
self.tabulator = pn.widgets.Tabulator(
pipeline.data, pagination='remote', page_size=12, height=400, **kwargs
)
Expand Down Expand Up @@ -344,6 +345,7 @@ def __init__(self, **params):

def render(self):
kwargs = dict(self.spec)
kwargs.pop('type', None)
pipeline = lm_state.pipelines[kwargs.pop('pipeline', self.pipeline)]
self.view = pn.pane.Perspective(pipeline, **dict(self._defaults, **kwargs))
self.view.param.watch(self._update_spec, list(self.view.param))
Expand Down

0 comments on commit 1484f9c

Please sign in to comment.