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.
Metadata
Release files for swarmauri_tool_matplotlib 0.7.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swarmauri_tool_matplotlib-0.7.5.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_tool_matplotlib-0.7.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / swarmauri_tool_matplotlib-0.7.5.tar.gz
| Download URL | swarmauri_tool_matplotlib-0.7.5.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c1d1523380163380b6bae08970a63884baec06a426d5890ed658f3c2b557b0a
|
|
BLAKE2b-256 checksum How to use checksums |
bfb75ecd4c91848778b24dffa05de41e9f4a8257d98617e920cfc9dd0d0f6281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.7
|
Release files / swarmauri_tool_matplotlib-0.7.5-py3-none-any.whl
| Download URL | swarmauri_tool_matplotlib-0.7.5-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1e1d9d86a8c495c4d67e194a2c1db2f0a62ec9c0c63b48a558f0c144abb38c3
|
|
BLAKE2b-256 checksum How to use checksums |
82ab176b07f5d78defe07681ccacf4b86db7e467410f0bb45f9005f5e0ffeab9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.7
|