Informatics Practices
To specify the style of line as dashed, which argument of plot() needs to be set ?
- line
- width
- style
- 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
Which of the following function will create a vertical bar chart ?
- plot()
- bar()
- plotbar()
- barh()
Which of the following function will create a horizontal bar chart ?
- plot()
- bar()
- plotbar()
- barh()
The data points plotted on a graph are called …………… .
- points
- pointers
- marks
- markers
A …………… graph is a type of chart which displays information as a series of data points connected by straight line segments.
- line
- bar
- pie
- box plot