Is there any way to encode 2 variables in a matplotlib colormap?  The idea is to replicate this dataspora R scatterplot in matplotlib:

"The bottom strip of charts encode two dimensions with color -- blue or red hue indicates pitch velocity -- while the lightness or darkness of the hue indicates how many pitches were thrown in a given region. "

Peter N. Skomoroch