title: How to assign specific colors to specific cells in a Matplotlib table?
body: <p>Following the pylab_examples, I have created a simple 2x5 cells table in matplotlib.</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code># Prepare table
  columns = ('A', 'B', 'C', 'D', 'E')
  rows = ["A", "B"]
  cell_text = [["1", "1","1","1","1"], ["2","2","2","2","2"]]
  # Add a table at the bottom of the axes
  ax[4].axis('tight')
  ax[4].axis('off')
  the_table = ax[4].table(cellText=cell_text,colLabels=columns,loc='center')
  </code></pre>
  
  <p>Now, I want to color cell A1 with <code>color = "#56b5fd"</code> and cell A2 with <code>color = "#1ac3f5"</code>. All other cells should remain white. Matplotlib's <a href="https://matplotlib.org/examples/pylab_examples/table_demo.html" rel="noreferrer">table_demo.py</a> as well as <a href="https://stackoverflow.com/questions/11623056/matplotlib-using-a-colormap-to-color-table-cell-background">this</a> example only show me how to apply a color map with pre-defined colors that depend on the values in the cell.</p>
  
  <p><strong>How to assign specific colors to specific cells in a Matplotlib-generated table?</strong></p>