Python Set Module Global Variable Matlab Plot Function Not Working