<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 03/08/2018 à 23:48, Matthew Bradley
      a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPXQNQXZcGOfh7M_V0r=nW-pXxz=ZxDbpP2+VmA_WdnBqAN0KQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:tahoma,sans-serif;font-size:small">Nice
          solution, I wasn't thinking in those sorts of terms before but
          I think that is the way to go!</div>
        <div class="gmail_default"
          style="font-family:tahoma,sans-serif;font-size:small"><br>
        </div>
        <div class="gmail_default"
          style="font-family:tahoma,sans-serif;font-size:small">Thanks!</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Aug 3, 2018 at 3:39 PM,
          Benjamin Root <span dir="ltr"><<a
              href="mailto:ben.v.root@gmail.com" target="_blank"
              moz-do-not-send="true">ben.v.root@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Well, why are you creating an RGB array?. Why
              not just pass the data into imshow() and give it vmin/vmax
              and the colormap that you'd like to use?</div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    What you want is likely a colormap like `diverging_gwr` or
    `diverging_gkr` from colorcet (<a class="moz-txt-link-freetext" href="https://colorcet.pyviz.org/">https://colorcet.pyviz.org/</a>). I mean,
    if you want to keep those colors. ;)<br>
    <br>
    Bruno<br>
  </body>
</html>