title: Is there any way to use bivariate colormaps in matplotlib?
body: <p>In other words, I want to make a heatmap (or surface plot) where the color varies as a function of <em>2</em> variables.  (Specifically, luminance = magnitude and hue = phase.)  Is there any native way to do this?
  Some examples of similar plots:</p>
  <p><img src="https://i.stack.imgur.com/mgwnp.jpg" alt="uses two colorbars, one for magnitude and one for phase" /></p>
  <p><img src="https://i.stack.imgur.com/r9fPF.jpg" alt="uses a colorbar for magnitude and a circular legend for phase" /></p>
  <p><img src="https://i.stack.imgur.com/tL6AW.jpg" alt="uses a 2D colorbar to indicate the changes in both variables" /></p>
  <p><a href="http://lcni.uoregon.edu/%7Edow/Geek_art/Simple_recursive_systems/2-D/3x3_boundary/3x3_boundary_L-systems.html" rel="nofollow noreferrer">Several good examples of exactly(?) what I want to do.</a></p>
  <p><a href="http://spie.org/x31118.xml?pf=true" rel="nofollow noreferrer">More examples from astronomy, but with non-perceptual hue</a></p>
  <p><strong>Edit:</strong> This is what I did with it: <a href="https://github.com/endolith/complex_colormap" rel="nofollow noreferrer">https://github.com/endolith/complex_colormap</a></p>