decrease the increment of my plot

  • MNE version: e.g. 1.6.0
  • operating system: Ubuntu 22.04
import mne

import matplotlib.pyplot as plt

from sklearn.metrics import *

# Part 2:

# Load and plot the EDF file

edf_file_path = './S034R01.edf'

raw = mne.io.read_raw_edf(edf_file_path, preload=True)

fig = mne.viz.plot_raw(raw,duration = 45)

fig.savefig('./S034R01.edf.png')

Hello. I used the python code above. It generates an image, but its x-axis’s increment is 10, how could I decrease it to 1?
Thanks.