pygwalker icon indicating copy to clipboard operation
pygwalker copied to clipboard

[Discuss] Allow PyGWalker to export viz code writen in python visualization lib, such as altair

Open ObservedObserver opened this issue 2 years ago • 1 comments

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?

ObservedObserver avatar Oct 02 '23 21:10 ObservedObserver

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?

Wish it could export plotly code that can be used in Python (Notebook etc).

ArslanKAS avatar Nov 15 '23 09:11 ArslanKAS