Clean up of python ploting routine for C example21 to match what python example21 does.