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.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for develocorder-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a465a5319ff381c92d223c9a8416c59ab267d88bdb70b94300f25dd6a1837eb |
|
MD5 | 3387e1a9c02a0179050856a7ca44942d |
|
BLAKE2b-256 | 3a675acfe3026c06150c368564e7f998ef2a14c6cb468f7b598f51eee1c0f0d0 |