Skip to content

Commit

Permalink
minor reformat in gp_datdir
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jan 9, 2014
1 parent 1d15060 commit d8f700d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyana/examples/gp_datdir.py
Expand Up @@ -15,8 +15,7 @@ def gp_datdir(subname): # subname = country initial in examples case
data[country][:, 1:3] /= 1e6 # set unit to 1M
if len(data) > 10: break
yVals = [ n for v in data.values() for n in v[:, 1] ] # all y values
yMin = min(yVals)
yMax = max(yVals)
yMin, yMax = min(yVals), max(yVals)
logging.debug(data) # shown if --log flag given on command line
outname = os.path.join(getWorkDir(__name__), initial) # output filename for make_plot
nSets = len(data) # number of datasets
Expand Down

0 comments on commit d8f700d

Please sign in to comment.