Permalink
Browse files

Fix #1998 -- the Wx backend can't display any text because it doesn't…

… call the RendererBase constructor
  • Loading branch information...
1 parent 41315b6 commit e1b934cd53abe2b47ba062ef37aef637f35534f5 @mdboom committed May 13, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/matplotlib/backends/backend_wx.py
@@ -263,6 +263,7 @@ def __init__(self, bitmap, dpi):
"""
Initialise a wxWindows renderer instance.
"""
+ RendererBase.__init__(self)
DEBUG_MSG("__init__()", 1, self)
if wx.VERSION_STRING < "2.8":
raise RuntimeError("matplotlib no longer supports wxPython < 2.8 for the Wx backend.\nYou may, however, use the WxAgg backend.")

0 comments on commit e1b934c

Please sign in to comment.