This would allow the plots to be displayed in Marimo notebooks without calling .show(). It would also ensure that the output appears with the correct placement (e.g. above the code cell).
See here for the Marimo documentation: https://docs.marimo.io/guides/integrating_with_marimo/displaying_objects/