-
Notifications
You must be signed in to change notification settings - Fork 320
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
Updated the executor function to provide support for plotly that fixes #36 #44
Conversation
… calculation in lida.visulaize
Update to provide fix for plotly issues
@microsoft-github-policy-service agree |
@Alfred-Onuada |
@Alfred-Onuada I think the code works for some plot like scatter plot but not histogram |
I will have a look now, thanks for mentioning |
@Alfred-Onuada I was already looking into it so I was able to spot the error. In your scaffold template, you need to add "fig.show()" before returning chart. Please add that |
…d works with multiple plot types
@trojrobert take a look again I pushed a new commit to make sure visualize for plotly returns the raster and chart, to prevent errors. I also tested with histograms across 3 datasets and it worked fine, let me know if you face any errors. |
Please show me a test |
what test command are you using? |
@Alfred-Onuada You code has a new dependency, we need to add that to the requirements. What version of kaleido are you using? |
@Alfred-Onuada I commented on this before. You need to add fig.show() to the template |
@Alfred-Onuada Please check my comment on scaffold.py. Please also test with multiple dataset |
@trojrobert [email protected], I have also included the fig.show() in the template |
@victordibia I think this PR should be done. |
Thanks @Alfred-Onuada and @trojrobert -V. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again all, this looks good! Merging!
This pull request adds support for the missing Plotly visualization library.
so the following code won't throw an error anymore
lida.visualize(summary=summary, goal=goals[3], textgen_config=textgen_config, library='plotly')