Font size
WorksheetsPyplot
Total questions: 15
Worksheet time: 15mins
Interface used for data visualization in Python
(a)
Graphical or visual representation of information and data using visual elements like charts,graphs,maps
(a)
A Python library that provides many interfaces and functionality for 2D graphics
(a)
Command used to import pyplot in your program for data visualization
(a)
Method used for creating a line graph
(a)
A chart which displays information as a series of data points called markers connected by a straight line segments
(a)
Method used to label x axis, the horizontal axis
(a)
Method used to label the y axis, the vertical axis
(a)
Method used to display the plot as per given specifications
(a)
Write statement to setup the size of the plot 15 units wide(x coordinate) and 7 units long(y coordinate). [The import statement is given as import matplotlib.pyplot as pl]
(a)
Write statement to plot a line graph in blue color with medals in x axis and country in y axis [ matplotlib is imported as plt]
(a)
Write a statement to plot a line graph with medals in x axis and country in y axis having a line width 4(Assume matplotlib is imported as plt)
(a)
Name the argument used to change the style of the line in Aline cahrt as dashed
(a)
Data points being plotted on a chart are called
(a)
Arguments used to change the marker type, it’s size and color
(a)
