Lines Matching refs:y

294     def scale(self, x, y):  argument
306 y = int(self.height * (
307 (symlog(y)-symlog(self.ylim[0]))
310 y = int(self.height * (
311 (y-self.ylim[0])
315 y = 0
316 return x, y
318 def point(self, x, y, *, argument
322 x, y = self.scale(x, y)
325 if x >= 0 and x < self.width and y >= 0 and y < self.height:
326 self.grid[x + y*self.width] = (color, char)
378 for x, y in coords:
379 if y is not None:
380 self.point(x, y,
394 y = self.height//yscale-1 - row
404 + (y*yscale+(i//xscale))*self.width]
430 if x == 0 and y == 0:
432 elif x == 0 and y == self.height//yscale-1:
434 elif x == self.width//xscale-1 and y == 0:
438 elif y == 0:
469 def dataset(results, x=None, y=None, define=[]): argument
491 if y is not None:
492 if y not in r:
495 y_ = dat(r[y])
508 def datasets(results, by=None, x=None, y=None, define=[]): argument
517 if y is None:
518 y = co.OrderedDict()
524 y[k] = True
526 y[k] = False
527 y = list(k for k,v in y.items() if v)
540 for y_ in y:
543 k_y = y_ if len(y or []) > 1 or (not ks_ and not k_x) else ''
559 self.y = 0
586 x, y = i
589 if y < 0:
590 y += len(self.yweights)
592 return self.map[(x,y)]
676 s.y += len(self_yweights)
681 self.map = self_map | {(x, y+len(self_yweights)): s
682 for (x, y), s in other_map.items()}
685 s.y += len(other.yweights)
690 self.map = other_map | {(x, y+len(other.yweights)): s
691 for (x, y), s in self_map.items()}
723 if s.y+s.yspan-1 == new_i:
725 elif s.y > new_i:
726 s.y += 1
741 if s.y+s.yspan-1 == new_i:
743 elif s.y > new_i:
744 s.y += 1
779 self.map = self_map | {(x+len(self_xweights), y): s
780 for (x, y), s in other_map.items()}
788 self.map = other_map | {(x+len(other.xweights), y): s
789 for (x, y), s in self_map.items()}
818 y=None, argument
887 for k, vs in it.chain(by or [], x or [], y or [])))
892 if y is not None:
893 y = [k for k, _ in y]
967 max(s_.ymargin[0] for s_ in grid if s_.y == s.y),
968 max(s_.ymargin[1] for s_ in grid if s_.y == s.y),
969 max(s_.ymargin[-1] for s_ in grid if s_.y+s_.yspan == s.y+s.yspan),
983 datasets_ = datasets(results, by, x, y, define)
1097 while minheight > sum(heights[s.y:s.y+s.yspan]):
1098 heights[s.y+i] += 1
1121 subdatasets = datasets(results, by, x, y, define_)
1150 subheight = sum(heights[s.y:s.y+s.yspan]) - sum(s.ymargin)
1165 sorted((x,y) for x,y in dataset.items()),
1232 subrow = row - sum(heights[s.y+s.yspan:])