Matplotlib tool for Swarmauri.
Project description
Swarmauri Tool Matplotlib
A Swarmauri package that provides tools for generating plots using Matplotlib. Includes support for basic plots and CSV data visualization.
Installation
pip install swarmauri_tool_matplotlib
Usage
Basic Plotting
from swarmauri.tools.MatplotlibTool import MatplotlibTool
# Create a tool instance
tool = MatplotlibTool()
# Generate a line plot
result = tool(
plot_type="line",
x_data=[1, 2, 3],
y_data=[4, 5, 6],
title="Line Plot",
x_label="X-axis",
y_label="Y-axis",
save_path="plot.png"
)
CSV Data Plotting
from swarmauri_tool_matplotlib.MatplotlibCsvTool import MatplotlibCsvTool
# Create a CSV tool instance
csv_tool = MatplotlibCsvTool()
# Generate a plot from CSV data
result = csv_tool(
csv_file="data.csv",
x_column="x",
y_column="y",
output_file="csv_plot.png"
)
Want to help?
If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.
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 swarmauri_tool_matplotlib-0.9.0.dev48.tar.gz.
File metadata
- Download URL: swarmauri_tool_matplotlib-0.9.0.dev48.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
782c5aab4431e53a025359e24dbed4a06ddcce6182f44b82c6956f15394aedad
|
|
| MD5 |
77069018551e841a8cd1969f1fabdef2
|
|
| BLAKE2b-256 |
8a60300240dc6b35e0c8f64085aa466c555519ee283d3b048eff1027b8cf9a51
|
File details
Details for the file swarmauri_tool_matplotlib-0.9.0.dev48-py3-none-any.whl.
File metadata
- Download URL: swarmauri_tool_matplotlib-0.9.0.dev48-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd9ace0f1a1da4d42b701141b4db68e633b12eb52efd75ea1beed0f02190093c
|
|
| MD5 |
a442e1fd858c7550accdececdb0ac115
|
|
| BLAKE2b-256 |
962b50bd1e8fcf2aae1ff1b249f0cf22cb07bb336bcfb453211e65e72b7a94b8
|