title: Python Seaborn Heatmap - Numpy asarray()
body: <p>I'm trying to change the way the image (attached) looks on display. Instead of displaying the float, I am wanting to return a percentage, i.e. instead of 1.00 it would display 100%, -.15 would display as -15%, etc.</p>
  <p>Below is the section of the code that creates a label. I've tried different things but no success so far. Any help or suggestions are great appreciated.</p>
  <pre><code>labels = (np.asarray([&quot;{0} \n {1:2f}&quot;.format(symb,value)
                        for symb, value in zip(symbol.flatten(),
                                               perchange.flatten())])
            ).reshape(3,10)
  </code></pre>
  <p>If this isn't an easy task without some heavier code, how can I trim the number to two decimal places?</p>
  <p><a href="https://i.stack.imgur.com/i8zvH.png" rel="nofollow noreferrer">Output Example</a></p>