Package joy :: Module scope
[hide private]
[frames] | no frames]

Module scope

source code

Classes [hide private]
  DataWindow
Concrete class DataWindow represents a sliding window of data through time
  Glyph
Concrete class representing a bitmap that is placed at multiple locations on an image.
  LinePlotter
Concrete class LinePlotter implements simple line plotting functionality (including coordinate scaling and line markers) on a box within a pygame.Surface
Functions [hide private]
 
planBoxes(grid, bw=0.1)
Convenience function for creating a figure layout INPUT: grid -- ASCII art layout (see example below) bw -- border width in grids; either scalar or (horizontal,vertical) OUTPUT: Boxes for regions, sorted by region id chars.
source code
Function Details [hide private]

planBoxes(grid, bw=0.1)

source code 

Convenience function for creating a figure layout
INPUT:
  grid -- ASCII art layout (see example below)
  bw -- border width in grids; either scalar or (horizontal,vertical)
OUTPUT:
  Boxes for regions, sorted by region id chars.
  Regions marked with space, '-' or '|' are ignored
Example:
  p='''
  xxxxx yyy
  xxxxx yyy
  xxxxx yyy

  zzzzzzzzz
  zzzzzzzzz
  '''
  box_x,box_y,box_z = planAxes(p,bw=0.5)