Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix order of matplotlib cmds - sphere - GPU-based 3D discrete element method a…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit f108f37f154c3fd25467dc2a4b69931e35bf4d49
parent bba450603483d9cdc90fb753e799811efb447384
Author: Anders Damsgaard <[email protected]>
Date: Tue, 12 May 2015 21:18:17 +0200
fix order of matplotlib cmds
Diffstat:
M python/halfshear-darcy-combined-or… | 7 ++++---
M python/halfshear-darcy-combined.py | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/python/halfshear-darcy-combined-orig.py b/python/halfshear-darcy-c…
t@@ -1,9 +1,6 @@
#!/usr/bin/env python
import matplotlib
matplotlib.use('Agg')
-matplotlib.rcParams.update({'font.size': 7, 'font.family': 'sans-serif'})
-matplotlib.rc('text', usetex=True)
-matplotlib.rcParams['text.latex.preamble']=[r"\usepackage{amsmath}"]
import shutil
import os
t@@ -14,6 +11,10 @@ import matplotlib.pyplot as plt
import matplotlib.patches
import matplotlib.colors
+matplotlib.rcParams.update({'font.size': 7, 'font.family': 'sans-serif'})
+matplotlib.rc('text', usetex=True)
+matplotlib.rcParams['text.latex.preamble']=[r"\usepackage{amsmath}"]
+
if len(sys.argv) > 1:
sid = sys.argv[1]
else:
diff --git a/python/halfshear-darcy-combined.py b/python/halfshear-darcy-combin…
t@@ -1,9 +1,6 @@
#!/usr/bin/env python
import matplotlib
matplotlib.use('Agg')
-matplotlib.rcParams.update({'font.size': 7, 'font.family': 'sans-serif'})
-matplotlib.rc('text', usetex=True)
-matplotlib.rcParams['text.latex.preamble']=[r"\usepackage{amsmath}"]
import shutil
import os
t@@ -14,6 +11,10 @@ import matplotlib.pyplot as plt
import matplotlib.patches
import matplotlib.colors
+matplotlib.rcParams.update({'font.size': 7, 'font.family': 'sans-serif'})
+matplotlib.rc('text', usetex=True)
+matplotlib.rcParams['text.latex.preamble']=[r"\usepackage{amsmath}"]
+
if len(sys.argv) > 1:
sid = sys.argv[1]
else:
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.