File fix-runtime.patch of Package horus
diff --git a/src/horus/gui/workbench/calibration/pages.py b/src/horus/gui/workbench/calibration/pages.py
index edd2c90..f6d7841 100644
--- a/src/horus/gui/workbench/calibration/pages.py
+++ b/src/horus/gui/workbench/calibration/pages.py
@@ -249,7 +249,7 @@ class CameraIntrinsics3DPlot(wx.Panel):
self.canvas = FigureCanvasWxAgg(self, -1, self.fig)
self.canvas.SetExtraStyle(wx.EXPAND)
- self.ax = self.fig.gca(projection='3d', axisbg=(0.7490196,0.7490196,0.7490196,1))
+ self.ax = self.fig.gca(projection='3d', facecolor=(0.7490196,0.7490196,0.7490196,1))
# Parameters of the pattern
self.rows = profile.getProfileSettingInteger('pattern_rows')
@@ -495,7 +495,7 @@ class LaserTriangulation3DPlot(wx.Panel):
fig = Figure(facecolor=(0.7490196,0.7490196,0.7490196,1), tight_layout=True)
self.canvas = FigureCanvasWxAgg(self, -1, fig)
self.canvas.SetExtraStyle(wx.EXPAND)
- self.ax = fig.gca(projection='3d', axisbg=(0.7490196,0.7490196,0.7490196,1))
+ self.ax = fig.gca(projection='3d', facecolor=(0.7490196,0.7490196,0.7490196,1))
self.Bind(wx.EVT_SIZE, self.onSize)
self.Layout()
@@ -916,7 +916,7 @@ class PlatformExtrinsics3DPlot(wx.Panel):
fig = Figure(facecolor=(0.7490196,0.7490196,0.7490196,1), tight_layout=True)
self.canvas = FigureCanvasWxAgg(self, -1, fig)
self.canvas.SetExtraStyle(wx.EXPAND)
- self.ax = fig.gca(projection='3d', axisbg=(0.7490196,0.7490196,0.7490196,1))
+ self.ax = fig.gca(projection='3d', facecolor=(0.7490196,0.7490196,0.7490196,1))
self.Bind(wx.EVT_SIZE, self.onSize)
self.Layout()
@@ -960,4 +960,4 @@ class PlatformExtrinsics3DPlot(wx.Panel):
self.Layout()
def clear(self):
- self.ax.cla()
\ No newline at end of file
+ self.ax.cla()