I currently have a graph that looks like this using mathplotlib
However the margins between where the line actually starts and the edges of the graph are unnecessary, do you know how I can get rid of the margins so 0,0 starts at the corner?
I currently have a graph that looks like this using mathplotlib
However the margins between where the line actually starts and the edges of the graph are unnecessary, do you know how I can get rid of the margins so 0,0 starts at the corner?
plt.xlim([0, x_max])
plt.ylim([0, y_max])
You can easily get the values of (x_max, y_max) from your data.