Skip to main content

Matplotlib tool for Swarmauri.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_tool_matplotlib


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


Download files

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

Source Distribution

swarmauri_tool_matplotlib-0.9.0.dev50.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file swarmauri_tool_matplotlib-0.9.0.dev50.tar.gz.

File metadata

  • Download URL: swarmauri_tool_matplotlib-0.9.0.dev50.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

Hashes for swarmauri_tool_matplotlib-0.9.0.dev50.tar.gz
Algorithm Hash digest
SHA256 6c46fc9aee49efc75a6bd3e31a71745ec075b458eed6517dbd96dffed4357041
MD5 0b5164aebd1879f10d8e12e087912b48
BLAKE2b-256 958be71fc9e911e664d7fbeb62604effd4fa6c7241830ab547fd1d4e01180e77

See more details on using hashes here.

File details

Details for the file swarmauri_tool_matplotlib-0.9.0.dev50-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_tool_matplotlib-0.9.0.dev50-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

Hashes for swarmauri_tool_matplotlib-0.9.0.dev50-py3-none-any.whl
Algorithm Hash digest
SHA256 1708c027ebea153955999f742c5d2f46313d5d2447b266430de28edeff5bc18b
MD5 a6bfde03b0cffdd19503f6b50cad469a
BLAKE2b-256 b21722366686b3549bb143ca35ca1f7ed23f7128e270968aa0f92900b2cdece0

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