incorporate Justin's matplotlib setting.