33 solutions available
Question 31Which argument should be set to display percentage share of each pie on a pie chart ?labelautopctexplodewedge
Question 32Which function creates a box plot ?box()plot()boxplot()showbox()
Question 33Which argument of boxplot() is used to create a filled boxplot ?fillboxpatch_artistpatch
Question 1(a)Execute the following codes and find out what happens ? (Libraries have been imported already ; plt is the alias name for...
Question 1(b)Execute the following codes and find out what happens ? (Libraries have been imported already ; plt is the alias name for...
Question 1(c)Execute the following codes and find out what happens ? (Libraries have been imported already ; plt is the alias name for...
Question 2Write the output from the given python code :import matplotlib.pyplot as plt Months = ['Dec', 'Jan', 'Feb', 'Mar'] Attendance = [70, 90,...
Question 3Write a program to add titles for the X-axis, Y-axis and for the whole chart in below code.import matplotlib.pyplot as plt Months = ['Dec',...
Question 4plt.plot(A, B) produces (A and B are the sequences same as created in question 1) chart as :Write code to produce charts as shown below:
Question 5Write suitable Python code to create 'Favourite Hobby' Bar Chart as shown below :Also give suitable python statement to save this chart.
Question 6Consider the following graph. Write the Python code to plot it. Also add the Title, label for X and Y axis.Using the following data for...
Question 7(a)Given a data frame df1 as shown below : 199020002010a52340890b64480560c786881102d94766889Write code to create a scatter chart from the...
Question 7(b)Given a data frame df1 as shown below : 199020002010a52340890b64480560c786881102d94766889Write code to create a line chart from the 1990...
Question 7(c)Given a data frame df1 as shown below : 199020002010a52340890b64480560c786881102d94766889Write code to create a bar chart plotting the...
Question 8The score of four teams in 5 IPL matches is available to you. Write a program to plot these in a bar chart.
Question 9The score of a team in 5 IPL matches is available to you. Write a program to create a pie chart from this data, showing the last match's...
Question 10The prices of a stock for 3 months are given. Write a program to show the variations in prices for each month by 3 lines on same line...
Question 11A distribution data stores about 1000 random number. Write a program to create a scatter chart from this data with varying point sizes.
Question 12Navya has started an online business. A list stores the number of orders in last 6 months. Write a program to plot this data on a...
Question 13(a)Given the following set of data :Weight measurements for 16 small orders of French-fries (in grams). 78 72 69 81 63 67 65 75 79 74...
Question 13(b)Given the following set of data :Weight measurements for 16 small orders of French-fries (in grams). 78 72 69 81 63 67 65 75 79 74...
Question 13(c)Given the following set of data :Weight measurements for 16 small orders of French-fries (in grams). 78 72 69 81 63 67 65 75 79 74...
Question 13(d)Given the following set of data :Weight measurements for 16 small orders of French-fries (in grams). 78 72 69 81 63 67 65 75 79 74...
Question 14(a)Create an ndarray containing 16 values and then plot this array along with dataset of previous question in same histogram, normal...
Question 14(b)Create an ndarray containing 16 values and then plot this array along with dataset of previous question in same histogram, cumulative...
Question 14(c)Create an ndarray containing 16 values and then plot this array along with dataset of previous question in same histogram, horizontal...
Question 15Out of above plotted histograms, which ones can be used for creating frequency polygons ? Can you draw frequency polygons from all the...
Question 16Create/draw frequency polygon from the data used in above questions.
Question 17(a)From the following ordered set of data :63, 65, 67, 69, 69, 71, 71, 72, 74, 75, 78, 79, 79, 80, 81, 83 Create a horizontal boxplot.
Question 17(b)From the following ordered set of data :63, 65, 67, 69, 69, 71, 71, 72, 74, 75, 78, 79, 79, 80, 81, 83 Create a vertical boxplot.
Question 17(c)From the following ordered set of data :63, 65, 67, 69, 69, 71, 71, 72, 74, 75, 78, 79, 79, 80, 81, 83 Show means in the boxplot.
Question 17(d)From the following ordered set of data :63, 65, 67, 69, 69, 71, 71, 72, 74, 75, 78, 79, 79, 80, 81, 83 Create boxplot without the box.
Question 18Sina has created ordered set of data from the number of new customers registered on his online service centre in last 20 months.Write a...