/+junk/pygooglechart-py3k

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/pygooglechart-py3k

« back to all changes in this revision

Viewing changes to examples/scatter.py

  • Committer: Gerald Kaszuba
  • Date: 2010-12-24 05:18:55 UTC
  • Revision ID: git-v1:1a633e0584a557e812fae20deceaef514a515f62
gitignore compiled py files and setup.py build dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    ymid = 50
54
54
    xlist = []
55
55
    ylist = []
56
 
    for angle in range(0, steps + 1):
 
56
    for angle in xrange(0, steps + 1):
57
57
        angle = float(angle) / steps * math.pi * 2
58
58
        xlist.append(math.cos(angle) * xradius + xmid)
59
59
        ylist.append(math.sin(angle) * yradius + ymid)