title: Get xtick labels in matplotlib returns empty array?
body: <p>For the following code:</p>
  
  <pre><code>ax = plt.gca()
  ticks = ax.get_xticklabels(True)
  ax.set_xticklabels(labels,True)
  plt.show()
  </code></pre>
  
  <p>The set_xticklabels is working and the plot is shown as expected . But the get_xticklabels returns an empty list. Is there any way to obtain the 'default' xticklabels before they are manually set?</p>