Fixed namespace issues in Matplotlib lecture