diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-05-11 19:15:44 -0500 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-05-11 19:15:44 -0500 |
| commit | c2c427177af69b0a08874a4466c95f2f6aa94c44 (patch) | |
| tree | 04de71105ac1903294c24860963eea7c3fb275be /utils/plot.py | |
| parent | d3f5931ab158f47d1a599bd7249f37d7cecd809c (diff) | |
| download | GolemFlavor-c2c427177af69b0a08874a4466c95f2f6aa94c44.tar.gz GolemFlavor-c2c427177af69b0a08874a4466c95f2f6aa94c44.zip | |
Fri May 11 19:15:44 CDT 2018
Diffstat (limited to 'utils/plot.py')
| -rw-r--r-- | utils/plot.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/plot.py b/utils/plot.py index fec8066..a51b0f1 100644 --- a/utils/plot.py +++ b/utils/plot.py @@ -405,8 +405,8 @@ def plot_sens_fixed_angle(data, outfile, outformat, args): print 'limit = {0}'.format(lim) label = '[{0}, {1}, {2}]'.format(*misc_utils.solve_ratio(src)) if lim < yranges[0]: yranges[0] = lim - # if lim > yranges[1]: yranges[1] = lim+5 - if lim > yranges[1]: yranges[1] = lim + if lim > yranges[1]: yranges[1] = lim+5 + # if lim > yranges[1]: yranges[1] = lim line = plt.Line2D( (ian+1-0.1, ian+1+0.1), (lim, lim), lw=3, color=colour[isrc], label=label ) @@ -420,7 +420,7 @@ def plot_sens_fixed_angle(data, outfile, outformat, args): ) try: - # yranges = (myround(yranges[0], up=True), myround(yranges[1], down=True)) + yranges = (myround(yranges[0], up=True), myround(yranges[1], down=True)) ax.set_ylim(yranges) except: pass |
