matplotlib - How to eliminate whitespace in pyplot heatmaps? -
i trying make heatmap using pcolor in pyplot
data=np.array(old_data) fig, ax=plt.subplots() mymap=ax.pcolor(data, cmap=plt.cm.blues) ax.autoscale(tight=true) plt.show()
for reason keep getting blank white columns between heatmap columns:
is there missing or doing wrong?
Comments
Post a Comment