What is the purpose of the plt.subplot2grid() function in Matplotlib?
Correct answer
A. To create a subplot grid
20 views
A. To create a subplot grid
20 views
plt.subplot2grid() places a subplot within a grid and lets it span several rows or columns through rowspan and colspan.
It is useful for dashboards in which the plots have different sizes.
Practise more Data Science MCQs with answers and explanations on MCQsExam.com.
Not sure why the answer is A? Ask here and get an explanation.