【发布时间】:2018-11-17 12:04:28
【问题描述】:
我正在尝试为 CobraPy 执行 this tutorial,但似乎无法导入 plot_helper
plot_helper 在哪里?是pip下载吗?
【问题讨论】:
标签: python python-import toolkit cobra
我正在尝试为 CobraPy 执行 this tutorial,但似乎无法导入 plot_helper
plot_helper 在哪里?是pip下载吗?
【问题讨论】:
标签: python python-import toolkit cobra
我遇到了同样的问题。我是 cobrapy 的新手,但这解决了我的问题。 我将以下链接用于散点图 https://python-graph-gallery.com/130-basic-matplotlib-scatterplot/ 因此,在第 8.1 节中,我个人使用的其他更改是:
我将 In[1] 中的 import plot_helper 替换为:
import matplotlib.pyplot
我使用了 In[4] 而不是:
matplotlib.pyplot.plot("loopless", "nominal", data=df, linestyle='none', marker='o')
matplotlib.pyplot.show()
希望对你有帮助
【讨论】: