Answers for "ax set xtick size"

0

ax set xtick size

import matplotlib.pyplot as plt
# We prepare the plot  
fig, ax = plt.subplots()

# We change the fontsize of minor ticks label 
ax.tick_params(axis='both', which='major', labelsize=10)
ax.tick_params(axis='both', which='minor', labelsize=8)
Posted by: Guest on March-29-2022

Python Answers by Framework

Browse Popular Code Answers by Language