1. Home
  2. Data Science
  3. Matplotlib
  4. Which argument adds minor ticks?

Added 14 Sep 2025

Which argument adds minor ticks?

  1. minor=True
  2. minorticks_on() Correct answer
  3. ticks='minor'
  4. grid(which='minor')

Correct answer

B. minorticks_on()

17 views

MCQSEXAM

Explanation

minorticks_on() enables minor locators.

Reference

https://matplotlib.org/stable/api/axes_api.html#minor-ticks

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Matplotlib MCQs

Practise all Matplotlib MCQs

Similar MCQs