0

I am plotting the following graph using this code and all of a sudden it now leaves these gaps at the beginning and end of the graph. What gives? How can I make this graph stretch end to end of my data?

plt.figure(figsize=(15, 10))

plt.plot(model_output['A'].cumsum())

plt.plot(model_output['B'].cumsum())

plt.plot(model_output['C'].cumsum())

plt.plot(model_output['D'].cumsum())

plt.yticks(fontsize=(15))
plt.xticks(fontsize=(15))
plt.xlabel("")
return model_output, plt

enter image description here

Landmaster
  • 1,043
  • 2
  • 13
  • 21

0 Answers0