Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31837cc

Browse files
committed
Add ref to usage faq
1 parent 516e00a commit 31837cc

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

lib/matplotlib/backends/backend_gdk.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,9 @@ def __init__(self, figure):
438438
warn_deprecated('2.0', message="The GDK backend is "
439439
"deprecated. It is untested, known to be "
440440
"broken and will be removed in Matplotlib 2.2. "
441-
"Use the Agg backend instead.",
441+
"Use the Agg backend instead. "
442+
"See Matplotlib usage FAQ for"
443+
" more info on backends.",
442444
alternative="Agg")
443445
self._renderer_init()
444446

lib/matplotlib/backends/backend_gtk.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@ def __init__(self, figure):
217217
warn_deprecated('2.0', message="The GTK backend is "
218218
"deprecated. It is untested, known to be "
219219
"broken and will be removed in Matplotlib 2.2. "
220-
"Use the GTKAgg backend instead.",
220+
"Use the GTKAgg backend instead. "
221+
"See Matplotlib usage FAQ for"
222+
" more info on backends.",
221223
alternative="GTKAgg")
222224
if _debug: print('FigureCanvasGTK.%s' % fn_name())
223225
FigureCanvasBase.__init__(self, figure)

lib/matplotlib/backends/backend_wx.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ def __init__(self, bitmap, dpi):
192192
warn_deprecated('2.0', message="The WX backend is "
193193
"deprecated. It's untested "
194194
"and will be removed in Matplotlib 2.2. "
195-
"Use the WXAgg backend instead.",
195+
"Use the WXAgg backend instead. "
196+
"See Matplotlib usage FAQ for more info on backends.",
196197
alternative='WXAgg')
197198
RendererBase.__init__(self)
198199
DEBUG_MSG("__init__()", 1, self)

0 commit comments

Comments
 (0)