Reputation: 635
I'm using matplotlib's violinplot and I'd like to see the frequency values in the X axis.
This is my MWE:
import numpy as np
import matplotlib.pyplot as plt
data = np.random.normal(size=100)
plt.violinplot(data)
plt.show()
which generates the following plot:
I'd like the X axis to show the frequency (count of values). Is that possible?
Upvotes: 0
Views: 36