From fe115a9667b2670f23af3e451c8064065c50fb65 Mon Sep 17 00:00:00 2001 From: lesauxvi Date: Mon, 29 Feb 2016 16:55:00 +0100 Subject: [PATCH] small change in a docstring --- pyqtgraph/graphicsItems/TextItem.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyqtgraph/graphicsItems/TextItem.py b/pyqtgraph/graphicsItems/TextItem.py index d4a390a5..a0987b82 100644 --- a/pyqtgraph/graphicsItems/TextItem.py +++ b/pyqtgraph/graphicsItems/TextItem.py @@ -60,7 +60,9 @@ class TextItem(GraphicsObject): def setText(self, text, color=(200,200,200)): """ - Set the text and color of this item. + Set the text of this item. + + The color entry is deprecated and kept to avoid an API change. This method sets the plain text of the item; see also setHtml(). """