Skip to main content

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.

Metadata

Release files for chatplotlib 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chatplotlib 0.1.1
File Size Uploaded Provenance Actions
chatplotlib-0.1.1.tar.gz 5.2 kB Without provenance Details for chatplotlib-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chatplotlib 0.1.1
File Interpreter ABI Platform Actions
chatplotlib-0.1.1-py3-none-any.whl Python 3 none any Details for chatplotlib-0.1.1-py3-none-any.whl

Total release size: 13.1 kB

Release files / chatplotlib-0.1.1.tar.gz

Download URL chatplotlib-0.1.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5052cbab34effb0503c7a42ebbb1629a41ffe9d015d14ebcffb8357eb0357fae
BLAKE2b-256 checksum
How to use checksums
61b7dcaad16728c526f5eb43c1360b1f242beb885f07dfe253ee5ec5bfc72668
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / chatplotlib-0.1.1-py3-none-any.whl

Download URL chatplotlib-0.1.1-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4348f9ff8d3bc60a86decce6b5cdbec937faa373534c3a5c13bd912dbb57f3ab
BLAKE2b-256 checksum
How to use checksums
5c561c80a44e118a556b77b13059911047771a81bcce0643bd83cec33e4290f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for chatplotlib 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page