Metadata-Version: 2.1
Name: combogrid
Version: 0.1.0
Summary: Draw a grid of combo charts (each with a line and bars)
Home-page: https://github.com/rahimnathwani/combogrid
License: MIT
Author: Rahim Nathwani
Author-email: rahim@encona.com
Requires-Python: >=3.7.1,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: matplotlib (>=3.4.1,<4.0.0)
Requires-Dist: pandas (>=1.2.4,<2.0.0)
Project-URL: Repository, https://github.com/rahimnathwani/combogrid
Description-Content-Type: text/markdown

# combogrid

**combogrid** makes it easier to draw combo charts in a grid, using matplotlib

Combo charts are useful for comparing two different 'y' variables.
Grids of charts (aka 'facet grids') are useful for comparing data
between groups.

Perhaps you want to see how a single stock's price and volume changed day by day.
And you are following multiple stocks, so you want one chart per stock.

## Requirements
* python 3.71 or above
* pandas

## Install
```bash
pip install combogrid
```

## Help
```python
import combogrid
help(combogrid.plot)
```


## Use
```python
import pandas as pd
import combogrid
df = pd.read_csv("sample.csv")
df["date"] = pd.to_datetime(df["date"])
plt = combogrid.plot(df, "date", "volume", "price", "color")
plt.show()
```

## Output
![Sample image with a grid of combo charts](https://raw.githubusercontent.com/rahimnathwani/combogrid/main/sample.png)

