fixed incorrect matplotlib call