Hi folks,
I'd like to remove the black border which is created when I save the image,
letting just the white background and the graph.
Is there a solution??
Thanks,
K.
Matplotlib provides a function that almost does this: plt.axis('off') or ax.set_axis_off(), but these functions clear the white background as well (along with the ticks, spines, and axis labels).
The following snippet clears only the spines and ticks: