Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) matplotlib.pyplot.xlabel()(I) To build a plot
(B) matplotlib.pyplot.title()(II) To display the heading of a plot
(C) matplotlib.pyplot.show()(III) To display the figure
(D) matplotlib.pyplot.plot()(IV) To set the x label of the plot

Solution

✅ Correct Option: 2
List IList II
(A) matplotlib.pyplot.xlabel()(IV) To set the x label of the plot
(B) matplotlib.pyplot.title()(II) To display the heading of a plot
(C) matplotlib.pyplot.show()(III) To display the figure
(D) matplotlib.pyplot.plot()(I) To build a plot

plot() only draws the data. Nothing appears on screen until show() is called.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question