An AI-powered data visualization assistant using Plotly
Project description
Plot Agent
An AI-powered data visualization assistant that helps users create Plotly visualizations in Python.
Installation
You can install the package using pip:
pip install plot-agent
Usage
Here's a simple example of how to use Plot Agent:
import pandas as pd
from plot_agent.plotly_agent import PlotlyAgent
# Create a sample dataframe
df = pd.DataFrame({
'x': [1, 2, 3, 4, 5],
'y': [10, 20, 30, 40, 50]
})
# Initialize the agent
agent = PlotlyAgent()
# Set the dataframe
agent.set_df(df)
# Process a visualization request
response = agent.process_message("Create a line plot of x vs y")
fig = agent.get_figure()
fig.show()
Features
- AI-powered visualization generation
- Support for various Plotly chart types
- Automatic data preprocessing
- Interactive visualization capabilities
- Integration with LangChain for advanced AI capabilities
Requirements
- Python 3.8 or higher
- Dependencies are automatically installed with the package
License
This project is licensed under the MIT License - see the LICENSE file for details.
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 plot_agent-0.1.2.tar.gz.
File metadata
- Download URL: plot_agent-0.1.2.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5ebec10ad46eb79e59fe893965b76cf0dd1a8f88469779e7873f4b8e4b3d422
|
|
| MD5 |
83fd4467c0f0a7170c4244209e40d692
|
|
| BLAKE2b-256 |
d69f6da75acc00b64d7dd3a4cbca2e51a0e2b5ba96fd73ebb4f91d75d44ab6e9
|
File details
Details for the file plot_agent-0.1.2-py3-none-any.whl.
File metadata
- Download URL: plot_agent-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6fc050d967fb348e6cf0b8f0ffac0cf5266af9c47dbebfffade4e27f1f1903a
|
|
| MD5 |
d57d9de9550c8a6f97ce88018b4df602
|
|
| BLAKE2b-256 |
f761abe154518d8de25f3e44182be1a4be5ae978457da602d8c9db7518e0ec25
|