jupyter-widgets-contrib / ipycanvas

Interactive Canvas in Jupyter
https://ipycanvas.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
685 stars 62 forks source link

debug_output only works if calling display(canvas) #312

Closed bhomass closed 1 year ago

bhomass commented 1 year ago

I have a complicated layout with HBox and VBox and contains a canvas as one part of the whole thing.

when using debug_output, it forces me to call display(canvas), or else debug_output does not show. but that means none of the other components show.

if I call HBox then debug_output, only a horizontal line shows.

If I call HBox without debug_output, then all the components show, but no debug_output

How can I make debug_output work with HBox?

bhomass commented 1 year ago

a none issue. It needs a VBox to contain everything, including the debug_output at the bottom.