Fix matplotlib exception when launching on XP
authorEdouard Tisserant
Tue, 25 Feb 2014 13:39:46 +0100
changeset 1394 d11ca4dd5135
parent 1393 e6c3908c925d
child 1395 bcd1e909076c
Fix matplotlib exception when launching on XP
controls/DebugVariablePanel/DebugVariablePanel.py
--- a/controls/DebugVariablePanel/DebugVariablePanel.py	Fri Feb 14 21:27:49 2014 +0100
+++ b/controls/DebugVariablePanel/DebugVariablePanel.py	Tue Feb 25 13:39:46 2014 +0100
@@ -30,6 +30,7 @@
 import wx.lib.buttons
 
 import matplotlib
+matplotlib.use('WX')
 import matplotlib.pyplot
 from matplotlib.backends.backend_wxagg import _convert_agg_to_wx_bitmap