Question
1. Type an integer between 1-100 for the following conceptual review question: A box plot displays how many summary statistics? 2. Select all that apply.
1. Type an integer between 1-100 for the following conceptual review question:
A box plot displays how many summary statistics?
2. Select all that apply. Which of the following code would do the same thing?
a. import matplotlib.pylab as plt
b. import matplotlib.pyplot as plt
c. from matplotlib import pyplot as plt
d. import matplotlib as plt
e. (Select this if none of the answer choices would do the same thing)
3. By default, the "plot" function of Matplotlib gives which plot type?
a. Scatter plot
b. Bar plot
c. Box plot
d. Line plot
4. Select all that apply: Which of the following data structure(s) can be accepted by Matplotlib?
a. Pandas DataFrame
b. Python Class
c. Numpy array
d. Pandas Series
e. Unstructured Text Data
f. Built-in List
5. You can make video-like animation with Matplotlib.
True
False
6. Select all that apply: Regarding the data in the previous question: Suppose you just want to preview the distribution of categoryA. Which of the following functions can be used?
a. plt.hist
b. sns.regplot
c. sns.lmplot
d. sns.displot
e. sns.scatterplot
7. Regarding the previous question, you can do the same with the same amount of code in Matplotlib.
True
False
For a multi-panel plot made with Matplotlib, which of the function should be used to include the title 'Fixed aspect Axes: compressed'? fig, ax = plt... \#code omitted \# ... code omitted fig.outer fig.title fig.suptitle fig.supratitle fig.megatitle Select all that apply: Which of the function allow(s) you to add the text "local max" to the plot as shown below? ax.annotate fig.annotate fig.text plt.annotate plt.text ax.text With matplotlib, you can make an axis title formatted as such: udv=uvvdu True False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started