1. Home
  2. Data Science
  3. Matplotlib
  4. Which of the following statements about Matplotlib figures…

Added 24 Feb 2024

Which of the following statements about Matplotlib figures is true?

  1. A figure can have multiple axes Correct answer
  2. A figure can only have one axis
  3. A figure is not necessary to create a plot
  4. A figure cannot be saved as an image file

Correct answer

A. A figure can have multiple axes

15 views

MCQSEXAM

Explanation

A figure can have multiple axes. The Figure is the whole canvas, and each Axes is one individual plot on it — so one figure can hold many subplots.

A figure is always present, even when pyplot creates it implicitly, and it can be saved with savefig().

Keep preparing with more Data Science MCQs on MCQsExam.com.

Doubts & discussion

Not sure why the answer is A? 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