Skip to content

Commit

Permalink
type checking fix related to panel evolution
Browse files Browse the repository at this point in the history
  • Loading branch information
xtianpoli committed Sep 20, 2024
1 parent 449fac8 commit f5d6141
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: mypy
args: [--strict, --explicit-package-bases]
additional_dependencies:
- 'numpy'
- 'numpy<2'
- 'ipython'
- 'jinja2'
- 'sqlalchemy-stubs'
Expand Down
2 changes: 1 addition & 1 deletion ipyprogressivis/widgets/chaining/any_vega.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def initialize(self) -> None:
)
self.c_.mode.observe(self._mode_cb, names="value")
self.json_editor = pn.widgets.JSONEditor(
value={}, mode="form", width=600 # type: ignore
value={}, mode="form", width=600
)
self.json_editor.param.trigger("value")
self.c_.editor = pn.ipywidget(self.json_editor)
Expand Down
2 changes: 1 addition & 1 deletion ipyprogressivis/widgets/chaining/csv_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def initialize(self) -> None:
with open(file_) as f:
content = js.load(f)
# pn.extension('ace', 'jsoneditor', 'ipywidgets') # run it in a nb cell
self.json_editor = pn.widgets.JSONEditor(value=content, # type: ignore
self.json_editor = pn.widgets.JSONEditor(value=content,
mode="form",
width=600)
self.json_editor.param.trigger("value")
Expand Down

0 comments on commit f5d6141

Please sign in to comment.