Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solara changes ipython notebook display of dataframes without notifications #534

Open
paddymul opened this issue Mar 2, 2024 · 1 comment

Comments

@paddymul
Copy link

paddymul commented Mar 2, 2024

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
Copy link
Author

paddymul commented Mar 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant