Fix types for some plot parameters

Thanks to Neil for providing test cases
Minor framework doc fixes