You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
outline attribute of colorbar not documented #19946
we don't want to start advertizing a special ax.spines['outline'] for colorbars if that will change to standard behavior in Enh better colorbar axes #18900.
ax.spines[:] works on any axis. It's documented on Spines and it doesn't make sense to add documentation on a general feature specifically to colorbars.
@story645 do you see any specific documentation that we should add that would have helped you? Otherwise I propose to close this.
@anushkrishnav Sorry that the action status is not clear/up-to-date.
Haven't closed it because I think it could be useful as a backport only doc (since ax.spines doesn't work on earlier versions) but I don't know quite how far back it'd be backported
Activity
jklymak commentedon Apr 12, 2021
Note #18900 will likely change this behaviour to be exactly the same as any other axes...
QuLogic commentedon Apr 13, 2021
With the new
Axes.spinesshortcut, you can useax.spines[:].set_color('red')on anyAxeswithout worrying about the names.anushkrishnav commentedon Apr 20, 2021
I would like to work on this issue
timhoffm commentedon Apr 20, 2021
AFAICS there is no clear action:
ax.spines['outline']for colorbars if that will change to standard behavior in Enh better colorbar axes #18900.ax.spines[:]works on any axis. It's documented onSpinesand it doesn't make sense to add documentation on a general feature specifically to colorbars.@story645 do you see any specific documentation that we should add that would have helped you? Otherwise I propose to close this.
@anushkrishnav Sorry that the action status is not clear/up-to-date.
story645 commentedon Apr 20, 2021
Haven't closed it because I think it could be useful as a backport only doc (since ax.spines doesn't work on earlier versions) but I don't know quite how far back it'd be backported
jklymak commentedon Apr 20, 2021
I don't think we rebuild old docs...
timhoffm commentedon Apr 20, 2021
ax.spines[:]is new in 3.4. https://matplotlib.org/stable/api/spines_api.html?highlight=spines#matplotlib.spines.SpinesWe don't update docs for previous releases. So I'm closing this as nothing to do.
@story645 Maybe you want to twitter about this some day? This is not as glorious as
subplot_mosaic, but a nice API to share.