Update matplotlibDraw.py

Fix a bug.