# HG changeset patch
# User Edouard Tisserant
# Date 1393331986 -3600
# Node ID d11ca4dd5135ae9c2d259ea274253dffdeb928c4
# Parent  e6c3908c925dfea80c53dabb7ad5fa379087bd6f
Fix matplotlib exception when launching on XP

diff -r e6c3908c925d -r d11ca4dd5135 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