https://github.com/torvaney/chainplot
A(nother) rubbish wrapper for matplotlib
https://github.com/torvaney/chainplot
Last synced: 2 months ago
JSON representation
A(nother) rubbish wrapper for matplotlib
- Host: GitHub
- URL: https://github.com/torvaney/chainplot
- Owner: Torvaney
- License: mit
- Created: 2016-09-25T17:39:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-05T18:54:07.000Z (over 9 years ago)
- Last Synced: 2024-04-29T21:45:47.043Z (about 2 years ago)
- Language: Python
- Size: 522 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chainplot
Easy plotting via method chaining in python (yet another matplotlib wrapper)
Api ~~stolen~~ inspired by ggplot2 (and some of pandas)
## Example:
```python
import pandas as pd
from chainplot import Plot
data = pd.read_csv('https://vincentarelbundock.github.io/Rdatasets/csv/datasets/iris.csv')
(Plot(data)
.map(x='Sepal.Length', y='Petal.Length', by='Species')
.layer_points())
```