solara icon indicating copy to clipboard operation
solara copied to clipboard

Solara changes ipython notebook display of dataframes without notifications

Open paddymul opened this issue 1 year ago • 1 comments

My library, Buckaroo, registers itself as the default displayer for pandas and polars dataframes. I was confused as to why this wasn't working. I ended up removing import solara, and auto display worked again.

I have received feedback from users that buckaroo auto-displaying dataframes is confusing and surprising. It is also the point of buckaroo. as a compromise, I added this print statement when buckaroo.enable() is called

print("Buckaroo has been enabled as the default DataFrame viewer.  To return to default dataframe visualization use `from buckaroo import disable; disable()`")

maybe Solara could add a similar print statement so users aren't surprised.

paddymul avatar Mar 02 '24 17:03 paddymul

Interestingly, buckaroo remains the default displayer when it is imported before solara.

I'm open to suggestions as to how our two libraries can provide a consistent user experience.

paddymul avatar Mar 02 '24 17:03 paddymul