Skip to content

Commit

Permalink
updated to latest version of spb.interactive.panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide-sd committed Apr 13, 2024
1 parent 962f781 commit db0954f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spb/doc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _modify_iplot_code(code):
tree.body[-1] = ast.Assign(
targets=[ast.Name(id="panelplot")],
value=ln.value.func.value, lineno=ln.lineno)
last_command = ast.parse("panelplot.layout_controls()")
last_command = ast.parse("panelplot.layout_controls")
tree.body.append(last_command.body[-1])

elif (
Expand Down Expand Up @@ -262,7 +262,7 @@ def _modify_iplot_code(code):
value=ln.value, lineno=ln.lineno)

if is_KB:
last_command = ast.parse("panelplot.layout_controls()")
last_command = ast.parse("panelplot.layout_controls")
else:
last_command = ast.parse(
"panelplot._create_template(show=False)")
Expand Down

0 comments on commit db0954f

Please sign in to comment.