Problem with importing matplotlib in pycharm

i'm new to all this..infact i just wanted to use python to plot some curve graphs for my project...i installed matplotlib in pycharm but when i try to import it as "import matplotlib.pyplot as plt "..it's not working....i saw somewhere that it's so because i haven't used the library before..so, how can i solve this?

0

fixed it.....click ctrl+alt+s and in that prompt look for the editor---.>auto-import--->preferred import style and click the import style.

that worked for me!

0

请先登录再写评论。