无法在 CobraPy 中导入plot_helper



我正在尝试为 CobraPy 做本教程,但似乎无法导入plot_helper

plot_helper在哪里?是点下载吗?

我遇到了同样的问题。我是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()

希望这有帮助

最新更新