Package pyvision :: Package analysis :: Module plot
[hide private]
[frames] | no frames]

Module plot

source code

A very simple 2D plotting package that outputs images.


Author: bolme

Classes [hide private]
  Label
  Points
  Plot
  TestPlot
Functions [hide private]
 
drawLabel(plot_image, pt, label, size='small', align='center', rotate=False, color='black') source code
 
dataToFormatedList(data) source code
Variables [hide private]
  arial_path = '/Users/qdb/Dropbox (ORNL)/git/pyvision/src/pyvis...
  huge_font = PIL.ImageFont.truetype(arial_path, 36)
  large_font = PIL.ImageFont.truetype(arial_path, 18)
  small_font = PIL.ImageFont.truetype(arial_path, 12)
  __package__ = 'pyvision.analysis'
Function Details [hide private]

drawLabel(plot_image, pt, label, size='small', align='center', rotate=False, color='black')

source code 
Parameters:
  • plot_image - a PIL image to use as a plot_image

Variables Details [hide private]

arial_path

Value:
'/Users/qdb/Dropbox (ORNL)/git/pyvision/src/pyvision/config/Arial.ttf'