title: Changing color scale in seaborn bar plot
body: <p>I would like to use seaborn bar plot for my data with a color scale according to the values in the Y-axis. For example, from this image, color changes from left to right according to a color palette:</p>
  <p><a href="https://i.stack.imgur.com/dfZeR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dfZeR.png" alt="enter image description here" /></a></p>
  <p>But what I actually wanted is this same color scheme but in &quot;vertical&quot; instead of &quot;horizontal&quot;. Is this possible? I've searched and tried to set the <code>hue</code> parameter to the Y-axis but it doesn't seem to work, how can I do it?</p>