I am trying to plot the degree distribution histogram on matplot, however, I am running into the following error. I understand I can get the bins and maybe plot them that way, but what am I doing wrong here?
Attached the error and sample code
AttributeError: ‘MatplotlibHistogramDrawer’ object has no attribute ‘_min’
import igraph as ig import matplotlib.pyplot as plt G_ig = ig.Graph.Read(filename) deg_dist = G_ig.degree_distribution() fig, ax = plt.subplots() ig.plot(deg_dist, target=ax).show()