title: Printing one color using imshow
body: <p>I want to print a color on the screen using RGB values and the output should be just a single color. For example if I give RGB values of red, I want the output to show me a red color. But when I try this code, it isn't working. What am I missing?</p>
  <pre><code>import matplotlib.pyplot as plt
  plt.imshow([(255, 0, 0)])
  plt.show()
  </code></pre>
  <p>The output is:<a href="https://i.stack.imgur.com/W93UM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W93UM.png" alt="plot output" /></a></p>