-
Notifications
You must be signed in to change notification settings - Fork 397
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
Export charts as Plotly objects when using offline_chart
API
#851
Comments
@Miautawn sorry for the long wait. So I'm thinking i'll add a |
Hey there! |
@Miautawn this has been added in v3.12.0 on pypi (soon to be on conda-forge as well). Let me know how it goes. Also, whenever you get a sec would you mind tossing your ⭐ on the repo? Thanks 🙏 |
Hey there!
I have a QOL improvement idea for jupyter notebook users - ability to easily export charts as plotly figure objects via
offline_chart
function.Currently, I use the
offline_chart
API, since in my opinion, it's the best option to create plots using Dtale within notebooks while still keeping them reproducible and easily readable, which is extremely important for me (might be a personal thing).However, sometimes you need to do something advanced, like combining the plots, and it's pretty hard to do when the
offline_chart
simply returns a rendered HTML, instead of the plotly figure object.My idea addresses just that - an option to get the resulting plotly figure object when creating plots using the convenient & powerful
offline_chart
API. As a matter of fact, you can do it right now, by simply calling the functions thatoffline_chart
uses under the hood - dtale.dash_application.charts.build_raw_chart.Below is a working example of the proposed use case:
Result:
The text was updated successfully, but these errors were encountered: