Data Visualization with Python using Matplotlib exam answers 2026: This page lists all 100 questions of the official Data Visualization with Python using Matplotlib exam by Itronix Solutions, each with its four answer options and the correct answer highlighted in green. Use it to revise every topic before you attempt the test and earn your verifiable certificate.
About this certification: This course will guide you through all the possible techniques that are used to visualize data using the Matplotlib Python library.
| Certification | Data Visualization with Python using Matplotlib |
| Provider | Itronix Solutions |
| Category | Data Science & Analytics |
| Total questions | 100 multiple-choice questions |
| Marks | 1 mark per question (100 marks) |
| Passing score | 80% (80 out of 100) |
| Retake | Available if you do not pass |
| Certificate | Verifiable online certificate |
Take the exam: Data Visualization with Python using Matplotlib on Itronix Solutions. See every other Itronix exam in our complete list of Itronix certification answers.
Data Visualization with Python using Matplotlib Exam Questions and Answers
Questions 1 to 25
1. Matplotlib is a Python library for:
Correct answer: D. Creating static, animated and interactive plots
2. The common import for Matplotlib’s plotting interface is:
Correct answer: A. import matplotlib.pyplot as plt
3. plt.show() is used to:
Correct answer: A. Display the figure
4. plt.plot(x, y) creates a:
Correct answer: D. Line plot
5. plt.bar() creates a:
Correct answer: A. Bar chart
6. plt.barh() creates a:
Correct answer: A. Horizontal bar chart
7. plt.scatter() creates a:
Correct answer: D. Scatter plot
8. plt.hist() creates a:
Correct answer: D. Histogram
9. plt.pie() creates a:
Correct answer: B. Pie chart
10. plt.boxplot() shows:
Correct answer: C. Median, quartiles and outliers
11. plt.title() sets:
Correct answer: A. The plot title
12. plt.xlabel() sets:
Correct answer: B. The x-axis label
13. plt.ylabel() sets:
Correct answer: A. The y-axis label
14. plt.legend() displays:
Correct answer: C. A legend for labelled data series
15. The label argument in plt.plot() is used by:
Correct answer: C. The legend
16. plt.grid(True) adds:
Correct answer: B. Grid lines to the plot
17. plt.xlim(0, 10) sets:
Correct answer: D. The x-axis range
18. plt.savefig("chart.png") is used to:
Correct answer: A. Save the figure to a file
19. The dpi argument in savefig controls:
Correct answer: B. Image resolution
20. plt.figure(figsize=(8, 4)) sets:
Correct answer: D. The figure width and height in inches
21. A Figure in Matplotlib is:
Correct answer: B. The overall container for all plot elements
22. An Axes object is:
Correct answer: B. An individual plot area with its own axes
23. fig, ax = plt.subplots() creates:
Correct answer: C. A figure and an axes object
24. plt.subplots(2, 2) creates:
Correct answer: B. A 2×2 grid of axes
25. The object-oriented approach uses methods like:
Correct answer: B. ax.plot() and ax.set_title()
Questions 26 to 50
26. ax.set_xlabel() sets:
Correct answer: C. The x-axis label for that axes
27. plt.tight_layout() helps to:
Correct answer: D. Reduce overlapping of subplot elements
28. The color argument changes:
Correct answer: B. The colour of plot elements
29. linestyle="–" draws:
Correct answer: A. A dashed line
30. marker="o" adds:
Correct answer: C. Circle markers at data points
31. linewidth controls:
Correct answer: A. The thickness of lines
32. alpha controls:
Correct answer: A. Transparency
33. A colormap (cmap) is used to:
Correct answer: B. Map numeric values to colours
34. plt.colorbar() adds:
Correct answer: B. A scale showing how colours map to values
35. plt.imshow() is used to display:
Correct answer: D. Images or 2D arrays as heatmaps
36. plt.text(x, y, "Hi") adds:
Correct answer: A. Text at a given data position
37. plt.annotate() is used to:
Correct answer: C. Add text with an optional arrow pointing to data
38. plt.xticks() is used to:
Correct answer: D. Set tick locations and labels on the x-axis
39. Rotating x tick labels helps when:
Correct answer: D. Labels are long and overlap
40. A log scale on the y-axis is set with:
Correct answer: B. plt.yscale("log")
41. plt.fill_between() is used to:
Correct answer: A. Shade the area between two curves
42. A stacked bar chart shows:
Correct answer: B. How parts contribute to totals across categories
43. A line chart is best for:
Correct answer: A. Showing trends over time
44. A bar chart is best for:
Correct answer: A. Comparing values across categories
45. A histogram is best for:
Correct answer: B. Showing the distribution of a numeric variable
46. The bins argument in plt.hist() controls:
Correct answer: B. The number or edges of intervals
47. A scatter plot is best for:
Correct answer: B. Showing the relationship between two numeric variables
48. A pie chart is suitable when:
Correct answer: B. Showing a few parts of a whole
49. A box plot is useful for:
Correct answer: D. Comparing distributions and spotting outliers
50. Seaborn is built on top of:
Correct answer: C. Matplotlib
Questions 51 to 75
51. Seaborn is known for:
Correct answer: B. Attractive statistical plots with less code
52. sns.heatmap() is often used to visualise:
Correct answer: D. Correlation matrices
53. pandas DataFrames can plot directly with:
Correct answer: D. df.plot()
54. df.plot(kind="bar") creates:
Correct answer: C. A bar chart from the DataFrame
55. Plotly differs from Matplotlib mainly because it:
Correct answer: A. Creates interactive web-based charts by default
56. plt.style.use("ggplot") changes:
Correct answer: C. The overall visual style of plots
57. plt.close() is used to:
Correct answer: D. Close a figure and free memory
58. In Jupyter, %matplotlib inline makes plots:
Correct answer: B. Appear inside the notebook
59. A twin axis (ax.twinx()) is useful for:
Correct answer: B. Plotting two series with different y-scales
60. plt.errorbar() shows:
Correct answer: B. Data points with error or uncertainty bars
61. An area chart emphasises:
Correct answer: C. The magnitude of change over time
62. A heatmap uses:
Correct answer: C. Colour intensity to represent values
63. Violin plots show:
Correct answer: A. Distribution shape along with summary statistics
64. A pair plot shows:
Correct answer: B. Pairwise relationships between multiple variables
65. 3D plots in Matplotlib use the toolkit:
Correct answer: A. mpl_toolkits.mplot3d
66. FuncAnimation is used to:
Correct answer: A. Create animations in Matplotlib
67. Data visualisation helps people to:
Correct answer: A. Understand patterns and insights quickly
68. A good chart should have:
Correct answer: D. A clear title, labelled axes and units
69. Truncating the y-axis on a bar chart can:
Correct answer: A. Exaggerate differences and mislead
70. Using too many colours in one chart:
Correct answer: B. Makes it harder to read
71. Colour-blind friendly palettes help to:
Correct answer: C. Make charts accessible to more viewers
72. 3D pie charts are generally discouraged because they:
Correct answer: A. Distort the perception of proportions
73. Chart junk refers to:
Correct answer: B. Unnecessary decoration that distracts from the data
74. A dashboard combines:
Correct answer: B. Several related charts and metrics in one view
75. The default Matplotlib figure background can be changed with:
Correct answer: A. facecolor
Questions 76 to 100
76. plt.axhline(y=0) draws:
Correct answer: C. A horizontal reference line
77. plt.axvline(x=5) draws:
Correct answer: A. A vertical reference line
78. plt.suptitle() sets:
Correct answer: D. A title for the whole figure with subplots
79. sharex=True in plt.subplots() makes subplots:
Correct answer: A. Share the same x-axis
80. plt.gca() returns:
Correct answer: B. The current axes
81. plt.gcf() returns:
Correct answer: D. The current figure
82. The zorder parameter controls:
Correct answer: D. Which elements are drawn on top
83. Matplotlib can save figures as:
Correct answer: C. PNG, PDF, SVG and other formats
84. SVG output is useful because it:
Correct answer: C. Scales without losing quality
85. A legend location can be set with:
Correct answer: B. loc="upper right"
86. Missing values (NaN) in a line plot usually:
Correct answer: D. Create gaps in the line
87. Normalising data before plotting helps to:
Correct answer: D. Compare series on different scales
88. A time series plot should usually have:
Correct answer: B. Time on the x-axis
89. plt.xticks(rotation=45) is used to:
Correct answer: D. Rotate x-axis tick labels by 45 degrees
90. Grouped bar charts are used to:
Correct answer: A. Compare sub-categories side by side
91. A KDE plot shows:
Correct answer: A. A smoothed estimate of a distribution
92. sns.countplot() shows:
Correct answer: A. Counts of observations in each category
93. plt.stackplot() creates:
Correct answer: B. A stacked area chart
94. The main goal of a data visualisation is to:
Correct answer: D. Communicate data clearly and accurately
95. Matplotlib was originally created by:
Correct answer: A. John D. Hunter
96. plt.step() creates:
Correct answer: A. A step plot
97. plt.polar() or a polar projection is used for:
Correct answer: D. Plotting data in polar coordinates
98. plt.contour() draws:
Correct answer: D. Contour lines of a 2D function
99. The markersize argument controls:
Correct answer: A. The size of markers
100. plt.legend(frameon=False) removes:
Correct answer: C. The box around the legend
How to Pass the Data Visualization with Python using Matplotlib Exam
- Read every question carefully; most options look similar, so look for the most precise answer.
- Revise the questions above topic by topic rather than memorising letters, because option order can change in the live test.
- You need 80 correct answers out of 100 to pass, so aim to understand at least 85 to stay safe.
- If you do not clear it on the first attempt, review the questions you missed and use the retake option.
Frequently Asked Questions
How many questions are in the Data Visualization with Python using Matplotlib exam?
The exam has 100 multiple-choice questions, each worth 1 mark.
What is the passing score for the Data Visualization with Python using Matplotlib?
You need at least 80% (80 out of 100) to pass and receive the certificate.
Can I retake the Data Visualization with Python using Matplotlib exam?
Yes. If you score below 80%, you can retry the test after reviewing the topics.
Is the Itronix certificate verifiable?
Yes. Every certificate issued by Itronix Solutions has a unique ID that can be checked on the Itronix verify-certificate page.
More Data Science & Analytics Certification Answers
- Big Data Certification Exam Answers
- Data Analyst Professional Certification Exam Answers
- Data Science Certification Exam Answers
- Google Data Analytics Certification Exam Answers
- Power BI Certification Exam Answers
- SPSS Statistics Certification Exam Answers
- Tableau for Data Science Certification Exam Answers
Disclaimer: These answers are provided for learning and revision. Questions and answers are checked regularly; if you find a mistake, let us know in the comments.
Priya Dogra – Free Certifications, Exam Answers & Career Guides Free certification exam answers, courses, scholarships and career guides for learners worldwide