text: Title: feature: proper support of matplotlib like in Jupyter
  Body: In https://github.com/widgetti/solara/commit/2b321eeff9f5e288a92d401b968d10671c22c959 we added support to notebook rendering for matplotlib using `pylabtools.select_figure_formats(shell, ["png"])`. This will make `display(fig)` work. Ideally, this works out of the box, without having a matplotlib dependency.
  
  Would be great if someone can figure out how.