Matplotlib x Axis di bagian atas
import matplotlib.pyplot as plt
import matplotlib
fig = plt.figure()
ax = fig.add_axes([0.12,0.15,0.75,0.8])
ax.set_xlabel("X")
#Set axis to top
ax.xaxis.tick_top()
#Set x axis lable to top
ax.xaxis.set_label_position('top')
HotFlow