Lepaskan sumbu dalam plot ular surut
plt.axis('off')
Bored Coder
plt.axis('off')
ax.axes.xaxis.set_ticklabels([])
from numpy import random
import matplotlib.pyplot as plt
data = random.random((5,5))
img = plt.imshow(data, interpolation='nearest')
img.set_cmap('hot')
plt.axis('off')
plt.savefig("test.png", bbox_inches='tight')
for i in range(len(COLUMNS)):
for j in range(len(COLUMNS)):
# If on the upper triangle
if i < j:
axes[i, j].remove()
# See the chart now
fig