All quizzes
Free quiz · 21 questions in the bank

Matplotlib quiz

Test your Matplotlib knowledge with a free interactive quiz — 21 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What does `plt.tight_layout()` (or `fig.tight_layout()`) do?

Questions in this quiz
  1. What does `plt.tight_layout()` (or `fig.tight_layout()`) do?
  2. How do you create a Figure with multiple subplots?
  3. What does `plt.style.use("ggplot")` do?
  4. What is Matplotlib?
  5. What does `dpi` control when saving a figure?
  6. How do you display a histogram of a numeric variable?
  7. How do you install Matplotlib?
  8. How do you create a bar chart?
  9. How do you save a Matplotlib figure to a file?
  10. What is a Matplotlib "Figure"?
  11. What is `pyplot` (commonly imported as `plt`)?
  12. What is a colormap in Matplotlib?
Gaps to close?
Read the curated Matplotlib notes — core concepts, patterns, interview prep.
Matplotlib notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web