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

File metadata

  • Download URL: swarmauri_tool_matplotlib-0.9.0.dev46.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.dev46.tar.gz
Algorithm Hash digest
SHA256 0aaa23f3c5f384ffeee285ff9f00971af8c9e24192df85f29436034cbe80e0f6
MD5 f0aaf218741807b48751dff6fa074989
BLAKE2b-256 13417f24a83c640f7176092f8c2abba0fa6ee14515e397cf9155d6acbf50c5fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_tool_matplotlib-0.9.0.dev46-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.dev46-py3-none-any.whl
Algorithm Hash digest
SHA256 4b8cc7a0f332baf99aec4607ea82b9bd2002830a54bcdf96af6cffc239990226
MD5 2534f1462dd00097dfb1695d9de21752
BLAKE2b-256 e0d0289585dd8696d6837ff53c5958db1d410ad0be42faa7ffdb2a346ddc24bb

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