|
From: Yoshi R. <yo...@ro...> - 2013-10-07 11:51:39
|
Sun, 6 Oct 2013 15:41:07 -0500 Tony Yu <ts...@gm...>: > The return value for streamplot is a bit hacked together. Its just a > simple object containing a line collection and an arrow collection. > Instead of passing the set of collections, just pass one of the > collections to the colorbar. For example: > > sset = grid[i].streamplot(XPTS, YPTS, zx, zy, color=zr) > grid.cbar_axes[i].colorbar(sset.lines) > > Does that work for you? works like a charm - thank you! best regards, Yoshi |