This Study Resource Was
This Study Resource Was
This Study Resource Was
1
h
p--
5
Which of the following parameter is used to set the size of marker , while using
plot function?
markersize--
size
marker_s
s
Which of the following type of values can be passed to color argument of plot
function?
Full names such as green
m
Hex strings such as #008000
er as
All of those mentioned--
co
RGB tuples
eH w
Which of the following value creates triangle markers, pointing left wards?
o.
lt rs e
<--
ou urc
l
>
Which of the following parameter is used to set the color of a error bar in bar
o
plots?
aC s
ec
v i y re
errcolor
color
ecolor--
What is the purpose for which linewidth parameter is used in a bar function?
ed d
counterclockwise
clockwise
counterclock--
Which of the following parameter is used to set error bars on drawn vertical
bars in a bar plot?
xerr
yerr--
xerrline
This study source was downloaded by 100000832806195 from CourseHero.com on 10-11-2021 06:58:47 GMT -05:00
https://www.coursehero.com/file/61544856/matplotlib-1txt/
yerrline
Which of the following parameter is used to draw shadow behind the pie plot?
bg
shadow--
shade
backgroud
Q4 - Q2
Q3 - Q2
Q3 - Q1--
Q2 - Q1
m
What does the function hist return ?
er as
bin count
co
All of those mentioned--
eH w
list of patches corresponding to each bar
edges of each bin
o.
rs e
Which of the following functions assisting in specifying the style sheets to be
ou urc
used ?
Both--
plt.style.use
plt.style.context
o
For applying different settings from default one to many plots, which of the
following is the best suited one?
None of those mentioned
To make changes in matplotlibrc file--
To use a custom style with use
sh is
How many rows does plot1 occupy in the figure, plotted using below code?
axes1 = plt.subplot(2, 2, (1,3), title='Plot1')
axes2 = plt.subplot(2, 2, 2, title='Plot2')
axes3 = plt.subplot(2, 2, 4, title='Plot3')
plt.show()
1
2--
3
4
Which of the following function adjusts the subplot params so that subplots fits
into figure area?
This study source was downloaded by 100000832806195 from CourseHero.com on 10-11-2021 06:58:47 GMT -05:00
https://www.coursehero.com/file/61544856/matplotlib-1txt/
adjust_layout
fit_layout
set_layout
tight_layout--
Which of the following parameter is used to make a line disappear, when plotted
using plot function?
visible--
invisible
nodisplay
display
m
barh--
er as
co
Which of the following parameter need to be set to increase or decrease the
eH w
number of outliers ?
whisdist
o.
whiskerdist rs e
whis--
ou urc
n
Which of the following type of values can be passed to color argument of plot
function?
o
RGB tuples
v i y re
4, 6
ar stu
6, 8
8, 6--
True--
Th
This study source was downloaded by 100000832806195 from CourseHero.com on 10-11-2021 06:58:47 GMT -05:00
https://www.coursehero.com/file/61544856/matplotlib-1txt/
True--
Which of the following value need to be provided for align argument, if bars
need to be aligned on left side, in case of bar function?
edge--
right
center
left
How many subplots occupy two rows and one column in the figure, plotted using
below code?
import matplotlib.gridspec as gridspec
fig = plt.figure()
gs = gridspec.GridSpec(3, 3)
ax1 = plt.subplot(gs[0, :])
ax2 = plt.subplot(gs[1, :-1])
ax3 = plt.subplot(gs[1:, -1])
ax4 = plt.subplot(gs[-1, 0])
ax5 = plt.subplot(gs[-1, -2])
lt.show()
4
3
m
2
er as
1--
co
eH w
Which of the following dictionary stores all the settings present in a
matplotlibrc file?
o.
rcsettings rs e
rcParams--
ou urc
rcdict
rcParam
Plots a green dashed colored line and also a green line with full of traingles
Plots two green colored lines with different styles--
means
ar stu
rect
fliers
caps--
position
cpositions
Th
cpos
positions--
This study source was downloaded by 100000832806195 from CourseHero.com on 10-11-2021 06:58:47 GMT -05:00
https://www.coursehero.com/file/61544856/matplotlib-1txt/
What does the function pyplot.bar returns
None
It returns a container with error bars
Returns a container with Bars--
Returns a container with Bars and error bars
m
A line passing through points : (10, 0), (14, 2)
er as
A line passing through points : (0, 10), (2, 14)
co
eH w
How many subplots occupy two rows in the figure, generated using below code?
o.
import matplotlib.gridspec as gridspec
rs e
fig = plt.figure()
ou urc
gs = gridspec.GridSpec(3, 3)
ax1 = plt.subplot(gs[:2, :2])
ax2 = plt.subplot(gs[0, 2])
ax3 = plt.subplot(gs[1, 2])
o
plt.show()
1
2--
4
3
ed d
ar stu
Which of the following parameter need to be set mandatorily, for plot function
to create a legend?
Th
point
text
legend
label--
This study source was downloaded by 100000832806195 from CourseHero.com on 10-11-2021 06:58:47 GMT -05:00
https://www.coursehero.com/file/61544856/matplotlib-1txt/
Confidence interval around the median--
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
v i y re
ed d
ar stu
sh is
Th
This study source was downloaded by 100000832806195 from CourseHero.com on 10-11-2021 06:58:47 GMT -05:00
https://www.coursehero.com/file/61544856/matplotlib-1txt/
Powered by TCPDF (www.tcpdf.org)