added docs
more docs
py3k compatibility
since fig object not used, don't hold references to them
create object before using them
doc sources
py3k