4
Matplotlib'de x eksenini bir grafiğin tepesine taşıma
Matplotlib'deki ısı haritaları hakkındaki bu soruya dayanarak , x ekseni başlıklarını arsanın tepesine taşımak istedim. import matplotlib.pyplot as plt import numpy as np column_labels = list('ABCD') row_labels = list('WXYZ') data = np.random.rand(4,4) fig, ax = plt.subplots() heatmap = ax.pcolor(data, cmap=plt.cm.Blues) # put the major ticks at the middle of each …