Theoretical Question Based On Plotting
Theoretical Question Based On Plotting
1. What do you by data visualization? Give two example of data visualization that we come across in our daily
life.
Ans. matplotlib
Ans. Matplotlib is used for creating static, animated and interactive 2D- plots or figures in python.
Ans. pyplot
Ans. Plot()
Ans. Show()
8. Write two ways of saving a chart or figure created in python using pyplot.
Ans. (i) we can click on the save button on the output window and save the plot as an image.
9. Which function is used to plot bar chart and histogram right with statement?
(ii) Color
(iii) linestyle
(iv) linewidth