Which function is used to set a title for the plot?

17. Which function is used to set a title for the plot?

  1. desc()
  2. title()
  3. head()
  4. None of the above

Answer: B) title()

Explanation:

The title() function is used to set a title for the plot. Consider the below code statement to set a title for the plot –

plt.title("Employee Details")

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.