Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は matplotlib で matshow() を使用しており、生成された図にはデフォルトで xticklabels が上にあります。代わりに xticklabels を一番下に置く方法はありますか?
これについての助けに感謝します。/M
x 目盛りの位置を調整するには、次の操作を試してください。
ax.xaxis.set_ticks_position('bottom')
同様に、y ティックの場合:
ax.yaxis.set_ticks_position('left')