A Large Language Model Auxiliary Data Visualization Tool Based on Matplotlib
Project description
Chatplotlib
Chatplotlib is a Large Language Model auxiliary data visualization tool based on matplotlib.
Attention: The project is in a very early stage of development.
Installation
pip install chatplotlib
Dependencies
- openai>=1.54
- matplotlib>=3.9.0
Usage
This package is designed for users to conduct data visualization with the assistance of
an LLM (Large Language Model) in an interactive environment, such as a notebook.
It is generally not a good choice when used in a bare Python script (a .py file).
这个包是为了用户在交互式环境中通过LLM辅助进行数据可视化的,例如notebook;
在裸python脚本(.py文件)中,通常不是一个好选择
from plotter import Plotter
x = [1, 2, 3, 4]
y = [1, 4, 9, 16]
p = Plotter(api_key="sk-xxx") # get from https://aliyun.com/product/tongyi
p.plot("使用下面的变量绘制折线图", x=x, y=y, xlabel="x(s)", ylabel="h(m)")
print(p.get_code())
p.save_session("session.json")
Disclaimer
This project is not affiliated with Matplotlib Developers or NumFOCUS, but we do appreciate the work they do.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chatplotlib-0.1.0.tar.gz.
File metadata
- Download URL: chatplotlib-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb25cec0e543b5ae8255e7dd56f1d3cd8caa032c6854f58f10e1ab7d0ac74543
|
|
| MD5 |
0c475fe78d3d3fc8db73ff05ea99f3ef
|
|
| BLAKE2b-256 |
ee74ec893fba6df811f265b0f278ddd4a3640997b8e2dd1b07bf12585ac0b3c2
|
File details
Details for the file chatplotlib-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chatplotlib-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adc8b89ce1a9f0b873b591c2ec6cb6d8fea2d0313d354bf3fce616c151e358b5
|
|
| MD5 |
6bad6555324c62ce83cc05fa2aecb15d
|
|
| BLAKE2b-256 |
eec15cadf86ce11a17a45ce8b4464b921556bf7d4a6f1a4dfbcfbd4173ac5550
|