Use as input file the output of lastfm-export.py. If you don't want to download one you could use mine here.
heatmaps.py generate the heat maps images on the current directory.
| #define LED1 8 | |
| #define LED2 9 | |
| #define LED3 10 | |
| #define LED4 11 | |
| #define LED5 12 | |
| #define PIN1 3 | |
| int leoboton; |
| #!/usr/bin/python | |
| # A simple script to convert an LDIF file to DOT format for drawing graphs. | |
| # Copyright 2009 Marcin Owsiany <[email protected]> | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; either version 2 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, |
Use as input file the output of lastfm-export.py. If you don't want to download one you could use mine here.
heatmaps.py generate the heat maps images on the current directory.
| import sys | |
| import pandas as pd | |
| import matplotlib.pylab as plt | |
| pd.options.display.mpl_style = 'default' | |
| mpl_stylesheet = {'interactive':False} | |
| plt.rcParams.update(mpl_stylesheet) | |
| df = pd.read_csv( 'gold.csv') |