[Discuss] Allow PyGWalker to export viz code writen in python visualization lib, such as altair
PyGWalker supports export code in graphic-walker spec or vega-lite spec but those are specification from JavaScript ecosystem, which may not be familiar by developers in Python.
It will be a great way to export python code that is easy to learn or edit by python developers.
Possible solutions:
- Export altair code: altair is also a viz lib based on vega-lite, which at least share the same design space with pygwalker.
- Instruction API: pygwalker now has operation instructions saved in store as edit history. Those instructions can be more easy to learn if there is a corresponding API in py.
Related discussions: Is it possible to compile from vega/vega-lite spec to Altair Code?
PyGWalker supports export code in
graphic-walkerspec orvega-litespec but those are specification from JavaScript ecosystem, which may not be familiar by developers in Python.It will be a great way to export python code that is easy to learn or edit by python developers.
Possible solutions:
- Export altair code: altair is also a viz lib based on vega-lite, which at least share the same design space with pygwalker.
- Instruction API: pygwalker now has operation instructions saved in store as edit history. Those instructions can be more easy to learn if there is a corresponding API in py.
Related discussions: Is it possible to compile from vega/vega-lite spec to Altair Code?
Wish it could export plotly code that can be used in Python (Notebook etc).