Skip to main content

This package is for easy, convenient plotting in Python.

Project description

MatPlus

CI/CD Coverage Docs Documentation

MatPlus is a Python package that provides easy, convenient plotting capabilities built on top of matplotlib. It simplifies the creation of common visualization types with intuitive APIs.

Installation

Install MatPlus using pip:

pip install MatPlus

Quickstart

Bar Plot

import numpy as np
from MatPlus import BarPlot

x = np.array([1, 2, 3, 4, 5])
y = np.array([10, 15, 7, 12, 9])

bar = BarPlot(x, y)
bar.plot()

Scatter Plot

from MatPlus import ScatterPlot

x = [1, 2, 3, 4, 5]
y = [1, 4, 9, 16, 25]

# Basic scatter plot
scatter = ScatterPlot(x, y)
scatter.plot()

# Scatter with custom sizes and colors
sizes = [10, 20, 30, 40, 50]
colors = [0.1, 0.5, 0.7, 0.9, 1.0]
scatter = ScatterPlot(x, y, sizes=sizes, colors=colors, vmin=0, vmax=1)
scatter.plot()

Line Plot

from MatPlus import LinePlot

# Single line plot
x = [1, 2, 3, 4, 5]
y = [1, 4, 9, 16, 25]
line_plot = LinePlot(x, y)
line_plot.plot()

# Multiple line plot
x = [[1, 2, 3], [1, 2, 3, 4]]
y = [[1, 2, 3], [4, 3, 2, 1]]
line_plot = LinePlot(x, y, lowerlimx=0, upperlimx=5)
line_plot.plot()

Box Plot

from MatPlus import BoxPlot

data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
box = BoxPlot(data)
box.plot()

Histogram

from MatPlus import Histogram
import numpy as np

data = np.random.normal(0, 1, 1000)
hist = Histogram(data)
hist.plot()

Documentation

For detailed API documentation, visit our documentation site.

Examples

For detailed examples of MatPlus usage in jupyter notebooks, please refer to the examples in our GitHub

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

matplus-0.2.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

matplus-0.2.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file matplus-0.2.0.tar.gz.

File metadata

  • Download URL: matplus-0.2.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for matplus-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bccaad5a854212a60c746a7a2b7733865e66756f7e64d31f279cb19dcbd70379
MD5 fa93735400f2c84f0f7a7bb6ba45127b
BLAKE2b-256 aa6602127ee79ab3051da99952b7019aaa73dde535878c8cdca9dde629cf7122

See more details on using hashes here.

Provenance

The following attestation bundles were made for matplus-0.2.0.tar.gz:

Publisher: publish.yml on ac-i2i-engineering/MatPlus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file matplus-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: matplus-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for matplus-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6fd02a3b0b8cf55b5eda76b774ac42af039ab0c70d20244686dc17b59438b19
MD5 a575130dd3e0af3c68887a3cdbfc159a
BLAKE2b-256 e471c03f88b0b8501a421a98e217b17936c2e69e7b8544a2ddd7a2ae55d76150

See more details on using hashes here.

Provenance

The following attestation bundles were made for matplus-0.2.0-py3-none-any.whl:

Publisher: publish.yml on ac-i2i-engineering/MatPlus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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