Computer scienceData scienceInstrumentsVisualizationKinds of graphs

Matplotlib violin plot

Re-arrange the code

Report a typo

Put the following lines of code in the right order so that they result in a violin plot.

Put the items in the correct order
fig, axes = plt.subplots()
plt.show()
plt.violinplot(data1)
data1 = [0, 20, 20, 20, 20, 20, 70]
import matplotlib.pyplot as plt
___

Create a free account to access the full topic