Skip to content

Commit

Permalink
Fixed: _register_pre_run_cell takes 0 positional arguments but 1 wa…
Browse files Browse the repository at this point in the history
…s given
  • Loading branch information
veghdev committed Dec 12, 2023
1 parent f521120 commit 2249051
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ipyvizzu/chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ def _register_events() -> None:
ipy.events.register("pre_run_cell", Chart._register_pre_run_cell)

@staticmethod
def _register_pre_run_cell() -> None:
def _register_pre_run_cell(
*args, **kwargs # pylint: disable=unused-argument
) -> None:
display_javascript(DisplayTemplate.CLEAR_INHIBITSCROLL, raw=True)

@property
Expand Down

0 comments on commit 2249051

Please sign in to comment.