Python chart does not take up entire width

I can not figure out how to get my plot to take the entire width. I’ve set left and right margins to 0. I don’t want the legend, but with or without it there is a big space to the right of the chart that I can’t seem to remove.

Your plots are taking the entire width.
Those are not spaces to the right and left of the plot, it is the plot background use paper_bgcolor to set a color for background and you’ll notice it.

OK So how do I make the background not extend past the chart?