I am using a pyplot to draw loglog graph. Here is the code:
data = [...] # a list of int values
from scipy.stats import itemfreq
tmp = itemfreq(data) # Get the item frequencies
x = tmp[:, 0] # unique values in data
y = tmp[:, 1] # freq
import matplotlib.pyplot as plt
plt.loglog(x, y, basex=2, basey=2)
plt.show()
And I get this image:

But I don't want the data points to be connected by lines which seems very ugly. How can I do this?