【发布时间】:2011-03-12 06:13:09
【问题描述】:
当我尝试运行执行导入语句 matplotlib.patheffects 的 python 脚本时,我收到一条错误消息,指出没有名为 patheffects 的模块。 声明是 导入 matplotlib.patheffects
请帮助我找出导致此错误的原因以及如何使代码在没有此故障的情况下运行。
【问题讨论】:
-
我只是简单地查看了
matplotlib文档,但找不到patheffects。它是模块、包、函数还是其他对象? Edit找到了。 -
你有什么版本的
matplotlib? (对于其他试图提供帮助的人:patheffects是一个模块) -
从 matplotlib 导入 patheffects 或 import matplotlib.patheffects 在 winXP 中为我工作
标签: python matplotlib