Mercurial > ~darius > hgwebdir.cgi > agl
comparison agl.py @ 16:201ad77bac40
Widen graph
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 11 Sep 2017 22:14:47 +0930 |
parents | 7fd3dc0516f8 |
children | 227a2a524675 |
comparison
equal
deleted
inserted
replaced
15:7fd3dc0516f8 | 16:201ad77bac40 |
---|---|
241 if fname == None: | 241 if fname == None: |
242 import matplotlib.pylab | 242 import matplotlib.pylab |
243 fig = matplotlib.pylab.figure() | 243 fig = matplotlib.pylab.figure() |
244 else: | 244 else: |
245 import matplotlib.backends.backend_agg | 245 import matplotlib.backends.backend_agg |
246 fig = matplotlib.figure.Figure(figsize = (8, 6), dpi = 75) | 246 fig = matplotlib.figure.Figure(figsize = (12, 6), dpi = 75) |
247 | 247 |
248 ax1 = fig.add_subplot(111) | 248 ax1 = fig.add_subplot(111) |
249 ax1.set_ylabel(yaxisunits1) | 249 ax1.set_ylabel(yaxisunits1) |
250 | 250 |
251 annotations = [] | 251 annotations = [] |