ax = subplot(111)
xx = np.arange(0, 20, 1)
yy = np.arange(1000, 10000, 450)
ax.get_yaxis().set_major_formatter(ticker.FuncFormatter(comma_format))
plt.scatter(xx, yy)
plt.show()
python + matplotlib: use locale to format y axis