📜  更改 yticks python 代码示例的大小

📅  最后修改于: 2022-03-11 14:45:10.943000             🧑  作者: Mango

代码示例1
import matplotlib.pyplot as plt
# We prepare the plot  
fig, ax = plt.subplots()
ax.tick_params(axis='y', which='major', labelsize=10)
ax.tick_params(axis='y', which='minor', labelsize=10)