matplotlib - Creating a 1D heat map from a line graph - Stack Overflow

matplotlib - Creating a 1D heat map from a line graph - Stack Overflow

More to explore