Package rdkit :: Package Logger :: Module SpingDemo
[hide private]
[frames] | no frames]

Module SpingDemo

source code

demo code for the Logger class

Variables [hide private]
  sz = (300, 300)
  c1 = Logger.Logger(pidSVG.SVGCanvas, sz, 'foo.svg', loggerFlus...
  c2 = pidPIL.PILCanvas(sz, 'foo.png')
  t = [('drawPolygon', ([(100, 100), (100, 200), (200, 200), (20...
  __package__ = 'rdkit.Logger'

Imports: pidSVG, pidPIL, pid, Logger, cPickle


Variables Details [hide private]

c1

Value:
Logger.Logger(pidSVG.SVGCanvas, sz, 'foo.svg', loggerFlushCommand= 'cl\
ear')

t

Value:
[('drawPolygon',
  ([(100, 100), (100, 200), (200, 200), (200, 100)]),
  {'fillColor': Color(1.00,0.00,0.00)}),
 ('drawLines',
  ([(100, 100, 200, 200), (100, 200, 200, 100)]),
  {'color': Color(0.00,0.00,0.00), 'width': 2}),
 ('save', (), {})]