Skip to content

Commit

Permalink
Fix tooltips for SVGs generated by visualize() in Jupyter notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Jan 13, 2025
1 parent 9879944 commit 306b576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cubed/core/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def visualize(
import IPython.display as display

if format == "svg":
return display.SVG(filename=full_filename)
return display.HTML(filename=full_filename)
except ImportError:
# Can't return a display object if no IPython.
pass
Expand Down

0 comments on commit 306b576

Please # to comment.