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

File metadata

  • Download URL: swarmauri_tool_matplotlib-0.9.0.dev32.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","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.dev32.tar.gz
Algorithm Hash digest
SHA256 79bfe62f26b3607317036bc62d2024cbb333056a2e9a5fc0b82a14ed42c79538
MD5 243620ca55946a1ce49cbb0796f23713
BLAKE2b-256 201d54ab6ad9a2b185432f7f6eeab2d2879e82fa28b4ec5a9fcccf4c9e64e1df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_tool_matplotlib-0.9.0.dev32-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","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.dev32-py3-none-any.whl
Algorithm Hash digest
SHA256 940e47cd5e85936a2239532b5212f9d39ccd35cc29b51e6ff353f3bbba0c1aa5
MD5 208bd3916aa8855925b2a6daf4dd4a19
BLAKE2b-256 44ca35fe3d1292d3fa008d2c01b3852a1321b34f9b2e7c69691e3d45f6010a81

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