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

alternative for display_chart() in flask. #491

Open
anandakrishnankb opened this issue Mar 20, 2024 · 1 comment
Open

alternative for display_chart() in flask. #491

anandakrishnankb opened this issue Mar 20, 2024 · 1 comment

Comments

@anandakrishnankb
Copy link

display_chart() only works in jupyter notebook.How can I render a chart's image whose spec is already available?

@longxiaofei
Copy link
Member

pip install pygwalker==0.4.8a3

You can use new html api, but currently these APIs are still in the stage of development, and pygwalker's team is improving these APIs.

from pygwalker.api.html import to_render_html

html = to_render_html(df, spec="your spec")

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

2 participants