A

Admin • 833.24K Points
Coach

Q. What is the correct way to change the default style of Matplotlib?

  • (A) plt.set_style()
  • (B) plt.rcParams['style']
  • (C) plt.style.use('style_name')
  • (D) plt.change_style()
  • Correct Answer - Option(C)
  • Views: 24
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

Use plt.style.use() to apply predefined styles like 'ggplot', 'seaborn', etc.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.