This package is for easy, convenient plotting in Python.
Project description
MatPlus
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()
Stem Plot
from MatPlus import StemPlot
import numpy as np
x = np.arange(0, 10)
y = np.sin(x)
stem = StemPlot(x, y)
stem.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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file matplus-0.2.1.tar.gz.
File metadata
- Download URL: matplus-0.2.1.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
687f316752430bfc7976552f50c17104e9b610f1b2a77c923124318fabce4c65
|
|
| MD5 |
bd69f33b72e03b4b04523cb300ca640d
|
|
| BLAKE2b-256 |
165cd091e258117165f8a21c7043b3d3f3060a63668dfe7eaba6535a45266930
|
Provenance
The following attestation bundles were made for matplus-0.2.1.tar.gz:
Publisher:
publish.yml on ac-i2i-engineering/MatPlus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
matplus-0.2.1.tar.gz -
Subject digest:
687f316752430bfc7976552f50c17104e9b610f1b2a77c923124318fabce4c65 - Sigstore transparency entry: 219741850
- Sigstore integration time:
-
Permalink:
ac-i2i-engineering/MatPlus@393388acdad6426930bf511ade6750817e80308a -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/ac-i2i-engineering
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@393388acdad6426930bf511ade6750817e80308a -
Trigger Event:
release
-
Statement type:
File details
Details for the file matplus-0.2.1-py3-none-any.whl.
File metadata
- Download URL: matplus-0.2.1-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c4bee2765280e3bf953de61d4411c758786898d163ff64b7cb09c0e109741b7
|
|
| MD5 |
ce51d67a13e288986db21febc5b992d0
|
|
| BLAKE2b-256 |
8f0c9865c02590ae000cfe99bcfa2be95e4093ea19bb067fb5a99a9dbbb41999
|
Provenance
The following attestation bundles were made for matplus-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on ac-i2i-engineering/MatPlus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
matplus-0.2.1-py3-none-any.whl -
Subject digest:
7c4bee2765280e3bf953de61d4411c758786898d163ff64b7cb09c0e109741b7 - Sigstore transparency entry: 219741852
- Sigstore integration time:
-
Permalink:
ac-i2i-engineering/MatPlus@393388acdad6426930bf511ade6750817e80308a -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/ac-i2i-engineering
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@393388acdad6426930bf511ade6750817e80308a -
Trigger Event:
release
-
Statement type: