1gs = gridspec.GridSpec(1, 2,
2 width_ratios=[10,1],
3 )
4
5ax1 = plt.subplot(gs[0], projection="polar", aspect=1.)
6ax2 = plt.subplot(gs[1])
7
8t = np.linspace(0.0, 2.0 * np.pi, 360)
9r = np.linspace(0,100,200)
10rg, tg = np.meshgrid(r,t)
11c = rg * np.sin(tg)
12
13im = ax1.pcolormesh(t, r, c.T)
14plot.colorbar(im, cax=ax2)
15