fixed deprecation warnings in the pygletplot modules

Signed-off-by: Thomas Hisch <t.hisch@gmail.com>