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: enter image description here

is there missing or doing wrong?


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -