Simple live value plotter using Matplotlib
Project description
Develocorder
Develocorder is a simple live value plotter for Python3 using Matplotlib. It is intended to give insights into the training of machine learning models / reinforcement learning agents with only minimal effort to add to existing code.
Installation
$ pip install develocorder
Simple Example
# initialize once
set_recorder(my_value=LinePlot())
# add values to plot anywhere
for _ in range(10):
record(my_value=random())
Result
Fancy Example
Jupyter notebook
For use in a Jupyter notebook use the %matplotlib notebook
backend. As of now you cannot rerun the cell which is showing the plot without restarting the notebook, otherwise the plot will disappear.
TODOs
- document how to extend
- better support for jupyter notebook
- user definable layout (mutiple columns)
- add new plot types
- persistent storage/loading of log
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
develocorder-0.2.2.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for develocorder-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30873a1ce8dbb510f09087cd0dccb068e612b4cf35129a8f118676570b2afb00 |
|
MD5 | 86506980d8b870ba1116fe58256799b3 |
|
BLAKE2b-256 | 25d96d047e18f9a3f3c5bee05f05b2545ef3eb06838743508819f38a14ddaed7 |