matplotlib是一款用于数据分析和绘图的强大工具,可以直接在anaconda中调用。在pycharm中使用matplotlib时,需先安装该库,方法是在cmd界面输入pip install matplotlib命令。对于数据分析,推荐使用anaconda软件包。