From e7748d3eb1cf90650e01b6c0b45732b9d4b952bd Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 5 Apr 2019 12:10:12 +0200 Subject: [PATCH] Remove changes (led to failure on code analysis) --- examples/show_obs.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/show_obs.py b/examples/show_obs.py index 2f1daff..1cb6de7 100755 --- a/examples/show_obs.py +++ b/examples/show_obs.py @@ -108,7 +108,7 @@ def plot_information(info, ra, dec, plotfile): if info['offset'].boolean() and ebounds.size() > 0: ncols += 1 iplot = 1 - plt.figure(figsize=(10,6)) + plt.figure() plt.subplot(nrows, ncols, iplot) # Plot zenith angle histogram @@ -168,9 +168,6 @@ def plot_information(info, ra, dec, plotfile): plt.ylabel('Zenith Angle (deg)') plt.title('Observation time') - # Adjust - plt.tight_layout() - # Show plots or save it into file if len(plotfile) > 0: plt.savefig(plotfile) -- libgit2 0.21.4