tfix order of matplotlib cmds - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit f108f37f154c3fd25467dc2a4b69931e35bf4d49
(DIR) parent bba450603483d9cdc90fb753e799811efb447384
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) diff --git a/python/halfshear-darcy-combined-orig.py b/python/halfshear-darcy-combined-orig.py
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:
(DIR) diff --git a/python/halfshear-darcy-combined.py b/python/halfshear-darcy-combined.py
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: