PyG2Plot is a Python 3 binding for AntV G2Plot, an interactive and responsive charting library. It lets Python users create statistical charts through a small amount of code while relying on G2Plot’s grammar-of-graphics foundation. The library is inspired by pyecharts and is designed to make web-based charts available from Python workflows. Users create a Plot instance, set chart options, and render the result as an HTML file, HTML string, notebook preview, or JupyterLab output. It also supports JavaScript callbacks through a JS helper, which makes advanced customization possible when chart behavior needs JavaScript logic. Overall, it is a useful visualization bridge for Python users who want AntV-style charts in scripts, notebooks, or web outputs.
Features
- Python 3 binding for AntV G2Plot
- Interactive and responsive statistical charts
- Simple Plot class and option-based configuration
- HTML file and HTML string rendering
- Jupyter Notebook and JupyterLab rendering support
- JavaScript callback support through the JS helper