Lines Matching defs:height
272 def __init__(self, width, height, *,
281 self.height = (4*height if braille
282 else 2*height if dots
283 else height)
286 self.ylim = ylim or (0, height)
292 self.grid = [('',False)]*(self.width*self.height)
306 y = int(self.height * (
310 y = int(self.height * (
325 if x >= 0 and x < self.width and y >= 0 and y < self.height:
343 if x1 >= 0 and x1 < self.width and y1 >= 0 and y1 < self.height:
361 if x2 >= 0 and x2 < self.width and y2 >= 0 and y2 < self.height:
394 y = self.height//yscale-1 - row
432 elif x == 0 and y == self.height//yscale-1:
565 def __init__(self, subplot, width=1.0, height=1.0):
567 self.yweights = [height]
579 def height(self):
792 def scale(self, width, height):
794 self.yweights = [s*height for s in self.yweights]
797 def fromargs(cls, width=1.0, height=1.0, *,
806 height=subargs.pop('height',
807 0.5 if dir in ['above', 'below'] else height),
811 grid.scale(width, height)
828 height=None,
1022 if height is None:
1024 elif height:
1025 height_ = height
1148 # find actual width/height
1172 s.height = subheight
1246 elif subrow-s.ymargin[-1] < s.height:
1253 line.center(s.height)[subrow]
1265 elif subrow == s.height-1 and s.yticklabels != []:
1281 subrow = subrow-s.ymargin[-1]-s.height
1457 '-H', '--height',
1461 help="Height in rows. 0 uses the terminal height. Defaults to 17.")
1537 if '--height' in a.option_strings).type = float