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.dev45.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.dev45.tar.gz.

File metadata

  • Download URL: swarmauri_tool_matplotlib-0.9.0.dev45.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.dev45.tar.gz
Algorithm Hash digest
SHA256 82293e593ab820c6bdc47164c9b3f829ce41c6304aa151229e2c23e15a8f9cb9
MD5 299a8ee9f94d34af853e5faa4c295b17
BLAKE2b-256 513401bf9caf8c30b585c1629b6198fb01b815c40ec4c570dc6be38bcec04ad4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_tool_matplotlib-0.9.0.dev45-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.dev45-py3-none-any.whl
Algorithm Hash digest
SHA256 7e28712cbf9fd26718c5d606d2c7abdbe961e21ef46973a516ac78f7e8c87282
MD5 5ea771bf560762d1fc7eab1087fefa0e
BLAKE2b-256 48352b03b2e48e7d78a4a36310e602e6e9e644e75b7a41a4f308590dac746ce9

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