๐ Quick Start๏
Install the package via pip:
pip install mplviz
Basic Usage Example
from mplviz import Viz
viz = Viz()
viz.plot([1, 2, 3], [4, 5, 6]).title("My First Plot").xlabel("X Axis").ylabel("Y Axis").show()
๐ฆ Installation๏
Install via PyPI:
pip install mplviz
Install from Source:
git clone https://github.com/BBEK-Anand/mplviz.git
cd mplviz
pip install .
๐งโ๐ป Usage๏
Creating a Basic Plot
from mplviz import Viz
viz = Viz()
viz.plot([1, 2, 3], [4, 5, 6]).title("Simple Line Plot").show()
Customizing the Plot
viz.plot([1, 2, 3], [4, 5, 6]) \\
.title("Customized Plot") \\
.xlabel("X Axis Label") \\
.ylabel("Y Axis Label") \\
.grid(True) \\
.show()
Saving the Plot
viz.plot([1, 2, 3], [4, 5, 6]) \\
.title("Saved Plot") \\
.save("plot.png")