pygwalker
pygwalker copied to clipboard
alternative for display_chart() in flask.
display_chart() only works in jupyter notebook.How can I render a chart's image whose spec is already available?
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")