title: How to plot a line plot over sns.heatmap over the center of tick labels
body: <p>Currently, I am trying to plot the viterbi path over all state probabilities. Basically, it is a line plot over a Seaborn heatmap I am using the following code</p>
  <pre class="lang-py prettyprint-override"><code>fig = plt.figure(figsize=(10, 10))
  ax = sns.heatmap(plot.T, cmap=&quot;viridis&quot;)
  ax.set_title(&quot;State probabilities&quot;)
  ax.set_xlabel(&quot;Time step&quot;)
  ax.set_ylabel(&quot;Hidden states&quot;)
  plt.plot(viterbi_path, color='red')
  plt.show()
  </code></pre>
  <p>And I am getting something like this:
  <img src="https://i.stack.imgur.com/cFTz9.png" alt="What I have" /></p>
  <p>While the line to start from the center and with no transitions rather on actual values like in this image
  <img src="https://i.stack.imgur.com/XTFxq.png" alt="Image of What I need" /></p>
  <p>How can I achieve this?</p>
  <p>Thank you for the help :)</p>
  <p>A basic reproducible toy code for experiment</p>
  <pre class="lang-py prettyprint-override"><code>import numpy as np
  import seaborn as sns
  import matplotlib.pyplot as plt
  
  uniform_data = np.random.rand(10, 15)
  ax = sns.heatmap(uniform_data)
  t = np.arange(10)
  t = [0, 0, 1, 1, 2, 3, 4,4,4,4,5,6,7,8,9]
  plt.plot(t)
  plt.show()
  </code></pre>
  <p><img src="https://i.stack.imgur.com/7gWO2.png" alt="Generates this heatmap" /></p>