-
Notifications
You must be signed in to change notification settings - Fork 893
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
Saving plotly figures made inside pipeline and reload in Kedro Viz. #839
Comments
Hi @lucasjamar thanks for the feedback. I think option 2. is a really good idea. We were considering it for the first release but in the end went with the current implementation as it was already being used internally by one of our teams. Having a pure JSONDataSet for plotly would be the good natural next step. |
Thanks for writing this @lucasjamar - I agree with what you say, and in my (personal, not kedro team) opinion our current implementation of the plotly dataset isn't quite right. Here's what we have currently: This is confusing because the save/load operations aren't symmetric, since the process of going from dataframe to figure is obviously irreversible. We should consider the two different ways of generating a plotly plot:
As you say, the current implementation doesn't cater for 2. The The only issue I see here is that kedro viz would need to load up Also note that if you do want to load up a |
In #981 we've implemented the new Also, possibly in future we should be moving |
Description
Many plotly figures are too complex to be defined inside of the data catalog (ex: mixing lines and bar charts, double y axis, faceted plots). It would be great to be able to build the plots inside of a node and then pass the plotly figure to the data catalog to be saved as a json and reloaded in the Kedro Viz.
Possible Implementation
Please let me know your thoughts!
The text was updated successfully, but these errors were encountered: