Metadata-Version: 2.4
Name: easyplots
Version: 0.2.1
Summary: Interactive plotting toolkit for time-series and HFT data
Project-URL: Homepage, https://github.com/ChaunceyDong/ezplot
Author: Chauncey Dong
License-Expression: MIT
License-File: LICENSE
Keywords: finance,hft,plotly,plotting,time-series
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.9
Requires-Dist: numpy>=1.20
Requires-Dist: pandas>=1.3
Requires-Dist: plotly>=5.0
Requires-Dist: scikit-learn>=1.0
Description-Content-Type: text/markdown

# ezplot

Interactive plotting toolkit for time-series and HFT data, built on Plotly.

## Install

```bash
pip install easyplots
```

## Quick Start

### `df.ezplot()` Layout

```
        +--------------+
        |              |
      y |              | y2
        |              |
        +--------------+
     yd |              | yd2
        +--------------+
    yd3 |              |
        +--------------+
```

- **y / y2** — Main panel with dual y-axes (left / right)
- **yd / yd2** — Secondary panel with dual y-axes
- **yd3** — Third panel (single y-axis)

All panels share the x-axis and support zooming/panning together.

### Usage

```python
import ezplot  # auto-registers df.ezplot()

df.ezplot(
    y=["mid_price", "theo"],       # main panel, left y-axis
    y2=["pnl"],                    # main panel, right y-axis
    yd=["spread"],                 # secondary panel, left y-axis
    yd2=["volume"],                # secondary panel, right y-axis
    yd3=["position"],              # third panel
    break_time=(11.5, 13),         # hide lunch break
)
```
 
## License

MIT
