~swfiua/blume/master

« back to all changes in this revision

Viewing changes to blume/magic.py

  • Committer: Jonny Gill
  • Date: 2024-09-02 13:13:54 UTC
  • Revision ID: git-v1:e70fbf9984efebf197dd4c6ab11ddfc68470af29
tablecount tinker

Show diffs side-by-side

added added

removed removed

Lines of Context:
1470
1470
    images of those things, with imshow.
1471
1471
    """
1472
1472
 
1473
 
    def __init__(self, width=200, height=200,
 
1473
    def __init__(self, width=512, height=512,
1474
1474
                 minx=0, maxx=1,
1475
1475
                 miny=0, maxy=1,
1476
1476
                 xname='x', yname='y',
1512
1512
    async def show(self, xname=None, yname=None):
1513
1513
 
1514
1514
        tmra = TheMagicRoundAbout
1515
 
        y, x, yy, xx = self.inset
 
1515
        x, y, xx, yy = self.inset
1516
1516
 
1517
1517
        xname = xname or self.xname
1518
1518
        yname = yname or self.yname