changed to fig.subplots_adjust()

This commit is contained in:
Siva Prasad Varma
2014-03-14 23:03:38 +05:30
parent 349d091bf1
commit 37f39f716e
+1 -1
View File
@@ -51,5 +51,5 @@ ax3.imshow(labels, cmap=plt.cm.spectral, interpolation='nearest', alpha=.7)
for ax in axes:
ax.axis('off')
plt.subplots_adjust(hspace=0.01, wspace=0.01, top=1, bottom=0, left=0, right=1)
fig.subplots_adjust(hspace=0.01, wspace=0.01, top=1, bottom=0, left=0, right=1)
plt.show()