From 0cb4f81ef70ef7aa567562bdb41cac8ba58697bf Mon Sep 17 00:00:00 2001 From: Volker Hoffmann Date: Tue, 2 Apr 2013 13:20:06 +0200 Subject: do not force reusing figure id, this will distort the output figure --- plots2.py | 6 +++--- 1 file 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) -- cgit v1.1