Is there a way to save matplotlib graphs without the border around the frame while keeping the background not transparent?
Setting the frame to 'off' as I show in the code below does not work as this removes the background making it transparent whereas I want to retain the white background, just without the borders.
a = fig.gca()
a.set_frame_on(False)
Here is a screenshot of what I'm trying to do. If the border can be removed then I can draw the x-axis line separately.
All suggestions are much appreciated.