我想在1 * 2子图中的所需位置放置刻度线。
import matplotlib.pyplot as plt
fig, ax = plt.subplots[]
n_rows = 1
n_colums = 2
n_plots = n_rows * n_cols
fig, ax = plt.subplots(n_rows, n_cols,figsize=(10,5), sharex = False, sharey = False)
ticks_pos = np.array([0.80,0.85,0.863,0.875,0.90,0.95,1])
my_ticks=[0.80,0.85,'r1','r2',0.90,0.95,1]
ax[0].set_xticks(ticks_pos,my_ticks)
plt.show()
这不起作用。请帮忙。