Skip to main content

A Large Language Model Auxiliary Data Visualization Tool Based on Matplotlib

Project description

English | 中文

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatplotlib-0.1.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatplotlib-0.1.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file chatplotlib-0.1.1.tar.gz.

File metadata

  • Download URL: chatplotlib-0.1.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for chatplotlib-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5052cbab34effb0503c7a42ebbb1629a41ffe9d015d14ebcffb8357eb0357fae
MD5 4cb48f081c423aac330aa59ee977b22e
BLAKE2b-256 61b7dcaad16728c526f5eb43c1360b1f242beb885f07dfe253ee5ec5bfc72668

See more details on using hashes here.

File details

Details for the file chatplotlib-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: chatplotlib-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for chatplotlib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4348f9ff8d3bc60a86decce6b5cdbec937faa373534c3a5c13bd912dbb57f3ab
MD5 0878264a571e5f19f4dc5b966da30ece
BLAKE2b-256 5c561c80a44e118a556b77b13059911047771a81bcce0643bd83cec33e4290f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page