<Python, matplotlib> pyplot.xlim()

pyplot.xlim()を引数無しで呼び出すと、現状の値を返してくれる。
へー。。。

In [43]: plt.xlim()
Out[43]: (720.0, 770.0)

In [44]: plt.xticks()
Out[44]:
(array([ 720.,  730.,  740.,  750.,  760.,  770.]),
 <a list of 6 Text xticklabel objects>)

こいつは、ax.get_xlim()だね。

In [46]: ax.get_xlim()
Out[46]: (720.0, 770.0)

ここで教えてもらった。
qiita.com

あと、マニュアル。
pyplot — Matplotlib 1.5.0 documentation

ax.get_xlim()の方も。
axes — Matplotlib 1.5.0 documentation