Skip to content

Instantly share code, notes, and snippets.

View ahankinson's full-sized avatar

Andrew Hankinson ahankinson

View GitHub Profile
diff --git a/gamera/gui/classifier_display.py b/gamera/gui/classifier_display.py
index e483570..89c83c6 100644
--- a/gamera/gui/classifier_display.py
+++ b/gamera/gui/classifier_display.py
@@ -164,8 +164,8 @@ class ExtendedMultiImageWindow(MultiImageWindow):
font.SetWeight(wx.BOLD)
self.titlebar_text.SetFont(font)
if wx.Platform != '__WXGTK__':
- self.titlebar_text.SetForegroundColour(wx.Color(255,255,255))
- self.titlebar_text.SetBackgroundColour(wx.Color(128,128,128))
@ahankinson
ahankinson / gist:985173
Created May 22, 2011 04:02
Install WxPython 2.9 64-bit with Homebrew Python Framework install
# These instructions work for OS X 10.6 with homebrew pre-installed.
brew install python --framework
brew install gfortran
# install other dependencies through pip:
pip install numpy
# the regular pip build for matplotlib is b0rken, and it can't find the built-in libraries for OSX
export LDFLAGS="-L/usr/X11/lib"