Skip to content

Instantly share code, notes, and snippets.

View ludwigschwardt's full-sized avatar

Ludwig Schwardt ludwigschwardt

  • Cape Town, South Africa
View GitHub Profile
@ludwigschwardt
ludwigschwardt / patch1.diff
Last active December 11, 2015 07:18
Patches for tigger Homebrew formula
diff --git a/Models/PlotStyles.py b/Models/PlotStyles.py
index 19cdf96..2cda4a7 100644
--- a/Models/PlotStyles.py
+++ b/Models/PlotStyles.py
@@ -45,7 +45,11 @@ StyleAttributeTypes = dict(symbol_size=int,symbol_linewidth=int,label_size=int);
# list of known colors
ColorList = [ "black","blue","lightblue","green","lightgreen","cyan","red","orange red","purple","magenta","yellow","white" ];
DefaultColor = "black";
-QColor.setAllowX11ColorNames(True);
+# Ignore this (non-existent) attribute on non-X11 platforms like the Mac