title: How to add correct labels for Seaborn Confusion Matrix
body: <p>I have plotted my data into a confusion matrix using seaborn but I ran into a problem. The problem is that it is only showing numbers from 0 to 11, on both axes, because I have 12 different labels.</p>
  
  <p>My code looks as follows:</p>
  
  <pre><code>cf_matrix = confusion_matrix(y_test, y_pred)
  fig, ax = plt.subplots(figsize=(15,10)) 
  sns.heatmap(cf_matrix, linewidths=1, annot=True, ax=ax, fmt='g')
  </code></pre>
  
  <p>Here you can see my confusion matrix: </p>
  
  <p><img src="https://i.stack.imgur.com/OiPkj.png" alt="Confusion matrix"></p>
  
  <p>I am getting the confusion matrix as I should. The only problem is the names of the labels which are not shown. I have search quite a while over the internet and with no luck. Are there any parameters which can attach the labels or how can this be done?</p>
  
  <p>Can anybody help me?</p>
  
  <p>Thank you!</p>
  
  <p>//Rasmus</p>