KnowledgeBoat Logo
|

Informatics Practices

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.

PyPlot

1 Like

Answer

import matplotlib.pyplot as plt
data = [63, 65, 67, 69, 69, 71, 71, 72, 74, 75, 78, 79, 79, 80, 81, 83]
plt.boxplot(data, vert = False)
plt.show()
Output
From the following ordered set of data : Create a horizontal boxplot. Plotting with Pyplot, Informatics Practices Computer Science Sumita Arora Solutions CBSE Class 12

Answered By

3 Likes


Related Questions