matplotlib get rid of gridlines


Here is what the above code is Doing:
1. We’re creating a figure with a size of 8×6 inches.
2. We’re creating an Axes object within the figure.
3. We’re plotting a line plot.
4. We’re setting the x-axis and y-axis limits.
5. We’re hiding the x-axis and y-axis gridlines.