Commit e7748d3eb1cf90650e01b6c0b45732b9d4b952bd
1 parent
0873cb8e
Remove changes (led to failure on code analysis)
Showing
1 changed file
with
1 additions
and
4 deletions
examples/show_obs.py
| @@ -108,7 +108,7 @@ def plot_information(info, ra, dec, plotfile): | @@ -108,7 +108,7 @@ def plot_information(info, ra, dec, plotfile): | ||
| 108 | if info['offset'].boolean() and ebounds.size() > 0: | 108 | if info['offset'].boolean() and ebounds.size() > 0: |
| 109 | ncols += 1 | 109 | ncols += 1 |
| 110 | iplot = 1 | 110 | iplot = 1 |
| 111 | - plt.figure(figsize=(10,6)) | 111 | + plt.figure() |
| 112 | plt.subplot(nrows, ncols, iplot) | 112 | plt.subplot(nrows, ncols, iplot) |
| 113 | 113 | ||
| 114 | # Plot zenith angle histogram | 114 | # Plot zenith angle histogram |
| @@ -168,9 +168,6 @@ def plot_information(info, ra, dec, plotfile): | @@ -168,9 +168,6 @@ def plot_information(info, ra, dec, plotfile): | ||
| 168 | plt.ylabel('Zenith Angle (deg)') | 168 | plt.ylabel('Zenith Angle (deg)') |
| 169 | plt.title('Observation time') | 169 | plt.title('Observation time') |
| 170 | 170 | ||
| 171 | - # Adjust | ||
| 172 | - plt.tight_layout() | ||
| 173 | - | ||
| 174 | # Show plots or save it into file | 171 | # Show plots or save it into file |
| 175 | if len(plotfile) > 0: | 172 | if len(plotfile) > 0: |
| 176 | plt.savefig(plotfile) | 173 | plt.savefig(plotfile) |