usually, when uses fig.colorbar(),it output like this
but when I need to draw a colorbar inside a figure, I want a colorbar with a white boundary.
how can I do that? I cant find any example like this.
thanks for any help
==========solution=============
cb.ax.spines[:].set_color('white') #makes the boundary white
cb.ax.tick_params(direction='out', colors='white') #makes ticks and labels white