ax tick params

ax.tick_params(axis='both', which='major', labelsize=10)

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 setting the x-axis and y-axis tick locations.
6. We’re setting the x-axis and y-axis tick labels.
7. We’re setting the x-axis and y-axis tick label sizes.