Skip to main content

Matplotlib tool for Swarmauri.

Project description

Swamauri 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.7.5.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

swarmauri_tool_matplotlib-0.7.5-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_tool_matplotlib-0.7.5.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_matplotlib-0.7.5.tar.gz
Algorithm Hash digest
SHA256 9c1d1523380163380b6bae08970a63884baec06a426d5890ed658f3c2b557b0a
MD5 14766afb4a647d419bdc50332117ec04
BLAKE2b-256 bfb75ecd4c91848778b24dffa05de41e9f4a8257d98617e920cfc9dd0d0f6281

See more details on using hashes here.

File details

Details for the file swarmauri_tool_matplotlib-0.7.5-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_matplotlib-0.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e1e1d9d86a8c495c4d67e194a2c1db2f0a62ec9c0c63b48a558f0c144abb38c3
MD5 bb932f695259b0f25db5300dee492fa0
BLAKE2b-256 82ab176b07f5d78defe07681ccacf4b86db7e467410f0bb45f9005f5e0ffeab9

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