What is the shorter keyword for the keyword argument 'linestyle' to change the style of the plotted line?

14. What is the shorter keyword for the keyword argument 'linestyle' to change the style of the plotted line?

  1. line
  2. lines
  3. style
  4. ls

Answer: D) ls

Explanation:

The shorter keyword for the keyword argument linestyle to change the style of the plotted line is: ls.

plt.plot(ypoints, ls = 'dotted')

Comments and Discussions!

Load comments ↻






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