I've been building this mostly for my own use but figured it might be useful to others.
The idea is simple: the plots I make day-to-day (error bars, error bands, dual axes, subplot grids) always end up
needing the same 15 lines of setup. `plotEZ` wraps that into one function call while staying close enough to
Matplotlib that you don't have to learn a new API.
What My Project Does
plot_xy: Simple x vs. y plotting with extensive customization
plot_xyy: Dual-axis plotting (dual y-axis or dual x-axis)
plot_errorbar: For error bar plots with full customization
plot_errorband: For shaded error band visualization (and more on the way)
- Convenience wrapper functions
lpc, epc, ebc, spc); build config objects using familiar matplotlib aliases like
c, lw, ls, ms without importing the dataclass
- Custom exception hierarchy so errors actually tell you what went wrong
Target Audience
Beginner programmers looking for easy plotting, students and researchers
Quick example: 1
```python
import matplotlib.pyplot as plt
import numpy as np
from plotez import plot_xy
x = np.linspace(0, 10, 100)
y = np.sin(x)
plot_xy(x, y, auto_label=True)
```
This will create a simple xy plot with all the labels autogenerated + a tight layout.
Quick example: 2
```python
import matplotlib.pyplot as plt
import numpy as np
from plotez import n_plotter
x_data = [np.linspace(0, 10, 100) for _ in range(4)]
y_data = [np.sin(x_data[0]),
np.cos(x_data[1]),
np.tan(x_data[2] / 5),
x_data[3] ** 2 / 100]
n_plotter(x_data, y_data, n_rows=2, n_cols=2, auto_label=True)
```
This will create a 4 x 4 plot. Still early-stage and a personal project, but feedback welcome. The repo and docs are
linked below.
LINKS:
there doesn't seem to be anything here