aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2013-04-02 13:20:06 +0200
committerVolker Hoffmann <volker@cheleb.net>2013-04-02 13:20:06 +0200
commit0cb4f81ef70ef7aa567562bdb41cac8ba58697bf (patch)
tree1d46a2b74059c63e2d989b873aa0dea0415c0d94
parentc6f57b21e95a1eb14116fa01da73a173ad50bf59 (diff)
do not force reusing figure id, this will distort the output figure
-rw-r--r--plots2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plots2.py b/plots2.py
index c6ddd90..8694feb 100644
--- a/plots2.py
+++ b/plots2.py
@@ -25,7 +25,7 @@ def SigmaR(iout0, iout1,\
showminmax = False
# Prepare Figure, Draw on Subplot
- fig1 = plt.figure(1)
+ fig1 = plt.figure()
fig1, vmin, vmax = plots2low.SigmaR(iout0, iout1, ymin, ymax,\
vmin, vmax, showminmax,\
fig=fig1, nrow=1, ncol=1, isub=1)
@@ -62,7 +62,7 @@ def MdotR(iout0, iout1,\
showminmax = False
# Prepare Figure, Draw on Subplot
- fig1 = plt.figure(1)
+ fig1 = plt.figure()
fig1, vmin, vmax = plots2low.MdotR(iout0, iout1, ymin, ymax,\
vmin, vmax, showminmax,\
fig=fig1, nrow=1, ncol=1, isub=1)
@@ -103,7 +103,7 @@ def MSR(iout0, iout1,\
showminmax = False
# Prepare Figure, Draw on Subplots
- fig1 = plt.figure(1, figsize=(16.0, 6.0))
+ fig1 = plt.figure(figsize=(16.0, 6.0))
fig1, vmin1, vmax1 = plots2low.SigmaR(iout0, iout1, ymin1, ymax1,\
vmin1, vmax1, showminmax,\
fig=fig1, nrow=1, ncol=2, isub=1)