From ebf992d30814c7a4e64db1a8714ae548b9ec1292 Mon Sep 17 00:00:00 2001 From: Jens Hedegaard Nielsen Date: Fri, 13 Feb 2015 10:20:19 +0000 Subject: [PATCH] Merge pull request #4096 from lesteve/patch-1 Fix minor typo in artist tutorial --- doc/users/artists.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/users/artists.rst b/doc/users/artists.rst index cff65522de08..27704724538b 100644 --- a/doc/users/artists.rst +++ b/doc/users/artists.rst @@ -104,7 +104,7 @@ The Axes also has helper methods to configure and decorate the x-axis and y-axis tick, tick labels and axis labels:: xtext = ax.set_xlabel('my xdata') # returns a Text instance - ytext = ax.set_ylabel('my xdata') + ytext = ax.set_ylabel('my ydata') When you call :meth:`ax.set_xlabel `, it passes the information on the :class:`~matplotlib.text.Text`