mirror of
https://github.com/matthewwardrop/statdials.git
synced 2026-06-28 15:06:28 -07:00
No description
- Python 62.1%
- TeX 37.9%
| statdials | ||
| .gitignore | ||
| example.png | ||
| example.py | ||
| LICENSE | ||
| README.md | ||
| setup.py | ||
StatDials
This is a pre-alpha python library to generate cute metric dials.
Installation
pip install statdials
Example usage
from statdials import StatDials
sd = StatDials(
[
[
{'metric': 1.0, 'uncertainty': 0.01, 'weight': 0.4, 'color': '{rgb:red,4;green,2;yellow,1}'},
{'metric': 1.0, 'uncertainty': 0.01, 'weight': 0.6, 'weightOffset': 0.4, 'color': 'red'},
],
[
{'metric': 1.0, 'uncertainty': 0.01},
{'metric': 1.0, 'uncertainty': 0.01},
{'metric': 1.0, 'uncertainty': 0.01},
],
]
)
sd.generate_png()
