can someone tell me how to turn off the frame on the colorbar?
i tried this
…
cb=plt.colorbar()
plt.axes(cb.ax)
plt.box(on=False)
…
but it has no effect
thanks,
jeff
can someone tell me how to turn off the frame on the colorbar?
i tried this
…
cb=plt.colorbar()
plt.axes(cb.ax)
plt.box(on=False)
…
but it has no effect
thanks,
jeff
There's no function or parameter to control this at the moment
unfortunately (I've marked this as a TODO, but I don't see a quick way
to add it at the moment).
The following gets it done, however:
cb.ax.artists.remove(cb.outline)
Ryan
On Thu, Jun 17, 2010 at 10:29 AM, Jeff Perry <jeffsp@...287...> wrote:
can someone tell me how to turn off the frame on the colorbar?
i tried this
...
cb=plt.colorbar()
plt.axes(cb.ax)
plt.box(on=False)
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
The following gets it done, however:
cb.ax.artists.remove(cb.outline)
or
cb.outline.remove()
-JJ