NEW
Font size
Worksheetsmatplotlib-2
Total questions: 15
Worksheet time: 15mins
The maximum number that you can assign for the color is ____.
4
3
2
1
This is an example of a ___________.
Scatter Chart
Line Graph
Bar Graph
Pie Chart
The maximum number that you can assign for the color is ____.
4
3
2
1
Which function is used to assign the title of the graph ?
name()
title()
heading()
none
names = np.array(["Reem" , "Salah" , "Haya" , "Maryam" , "Fatema"])
print(names([2))
Mark the right output from the below options
[ 'Haya' ]
[ 'Maryam' ]
[ 'Reem' ]
[ 'Salah' ]
names = np.array(["Reem" , "Salah" , "Haya" , "Maryam" , "Fatema"])
names[2] = "Omar"
print([names])
Mark the right output from the below options
[ "Reem" , "Salah" , "Haya" , "Maryam" , "Fatema" ]
[ "Reem" , "Salah" , "Omar" , "Maryam" , "Fatema" ]
[ "Reem" , "Haya" , "Salah" , "Maryan" , "Fatema" ]
names = np.array(["Reem" , "Salah" , "Haya" , "Maryam" , "Fatema"])
names[2] = "Omar"
print([names])
Mark the right output from the below options
[ "Reem" , "Salah" , "Haya" , "Maryam" , "Fatema" ]
[ "Reem" , "Salah" , "Omar" , "Maryam" , "Fatema" ]
[ "Reem" , "Haya" , "Salah" , "Maryan" , "Fatema" ]
names = np.array(["Reem" , "Salah" , "Haya" , "Maryam" , "Fatema"])
print(names([2))
Mark the right output from the below options
[ 'Haya' ]
[ 'Maryam' ]
[ 'Reem' ]
[ 'Salah' ]
What does these 4 colour boxes on extreme right side called
Title
Legend
Heading
Label
________________function is used to create a horizontal bar chart.
barchart()
barh()
bar()
None of the above
Among the following which chart type is used to visualize a trend in data over intervals of time.
Histogram
Bar chart
Pie chart
Line chart
The ______ argument of legend() provides the location for legend, which by default is one or upper right
Title()
Loc
X label()
Y label()
The graphical or visual representation of information and data using visual elements like charts, graphs, etc are called_____
Data visualization
Pyplot
Line chart
Bar chart
Name the function used to create an array?
np.aray()
np.array()
Np.array()
np.arange()
np.arange(2,8,1) ----> what output will be produced?
2,3,4,5,6,7,8
2,3,4,5,6,7,8,9
2,3,4,5,6,7
2,4,6,8
