how can I change the colorbar borders so that they are white and not black (externals border and between each segment)?
For example:
x=randint(100, size=(10,10))
cs=contourf(x)
cb=colorbar(cs)
give
but I want :
Thanks
how can I change the colorbar borders so that they are white and not black (externals border and between each segment)?
For example:
x=randint(100, size=(10,10))
cs=contourf(x)
cb=colorbar(cs)
give
but I want :
Thanks
edit: Notice the comments below for MPL 1.3 and later.
Add:
As PiQuer mentioned:
works nowadays