ticker

緯度経度の線を引いて緯度経度の数値を描くにはmatplotlibのtickerを使う.

import matplotlib.ticker as tck

gl=ax.gridlines(crs=proj,draw_labels=True)

gl.xlocator=tck.FixedLocator(np.arange(120,160.1,5))

gl.ylocator=tck.FixedLocator(np.arange(20,50.1,5))

raw_labels=Trueでラベルを付ける。