New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drawing a colorbar with pg.mplviewer.drawModel #130
Comments
No, import pygimli as pg
mesh = pg.createGrid([0,1,2], [0,1,2])
data = pg.randn(mesh.cellCount())
pg.show(mesh, data, colorBar=True)
pg.show(mesh, data, colorBar=True, orientation="vertical") |
The new 10^x colorbars (from mpl 2.1 or 2.2 on) are indeed a bit nasty. It is true, |
What actor (If that's the right term?) does For example, in the earlier code, the I guess it's a patch-style object, but I'm just not sure how to get at it. |
|
Hi guys,
I'm trying to draw a colorbar with the
drawModel
command. To my mind, the interpolation tutorial suggests it's possible (by means ofshowCbar = False
) however setting this to 'True' does nothing.I introduced a colorbar through the matplotlib which seems to work just fine.
Should
drawModel
be taking theshowCbar
command?The text was updated successfully, but these errors were encountered: