KnowledgeBoat Logo
|

Informatics Practices

To specify the style of line as dashed, which argument of plot() needs to be set ?

  1. line
  2. width
  3. style
  4. linestyle

PyPlot

1 Like

Answer

linestyle

Reason — To specify the style of the line as dashed in Matplotlib's plot() function, we need to set the linestyle argument to 'dashed'.

Answered By

2 Likes


Related Questions