Which is/are the parameter(s) that can be used in grid() function to specify the line properties?

22. Which is/are the parameter(s) that can be used in grid() function to specify the line properties?

  1. color
  2. linestyle
  3. linewidth
  4. All of the above

Answer: D) All of the above

Explanation:

The all of the above parameters (color, linestyle, and linewidth) can be used in grid() function to set the various line properties.

plt.grid(color = 'Yellow', linestyle = '--', linewidth = 0.9)

Comments and Discussions!

Load comments ↻






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