小さな目盛りを回転させるmatplotlibの私は、次のチャートをプロットしています
fig, ax = plt.subplots(figsize=(20, 3))
mpf.candlestick_ohlc(ax,quotes, width=0.01)
ax.xaxis_date()
ax.xaxis.set_minor_locator(mpl.dates.HourLocator(interval=4))
ax.xaxis.set_minor_formatter(mpl.dates.DateFormatter('%H:%M'))
plt.xticks(rotation = 90)
plt.grid(True)
plt.show()
私も小目盛りを回転したい
:私はどうだろうかそれ?
副次的な質問は、1つのコマンドでメジャーとマイナーダニの両方を回転させる方法はありますか?
ああ!これははるかに簡単で明確です。 – Lucas