Python Colorbar untuk Panas Lingkar
gs = gridspec.GridSpec(1, 2,
width_ratios=[10,1],
)
ax1 = plt.subplot(gs[0], projection="polar", aspect=1.)
ax2 = plt.subplot(gs[1])
t = np.linspace(0.0, 2.0 * np.pi, 360)
r = np.linspace(0,100,200)
rg, tg = np.meshgrid(r,t)
c = rg * np.sin(tg)
im = ax1.pcolormesh(t, r, c.T)
plot.colorbar(im, cax=ax2)
HotFlow