added setMaxValue to pyPandora