我的matplotlib图没有显示一条直线。它只显示了实际的点。我甚至指定了线宽。不知道为什么它没出现。import matplotlib.pyplot as pltimport timeimport matplotlib.dates as mdates
ax = fig.add_subplot(111)
g
import matplotlib.pyplot as plt
if certain_conditions:
return or otherwise当第一个图被放弃时,第二段代码中的show()将显示比预期更多的内容;我只想看到abc与def的对比图。我相信这很简单,但我没有找到它-在开始第二个情节之前,我想要什么魔法咒语?