Repository navigation
ENH: add long_axis property to colorbar - #27167
Conversation
|
|
||
| @property | ||
| def long_axis(self): | ||
| """Axis that has decorations (ticks etc) on it.""" |
anntzer
left a comment
There was a problem hiding this comment.
Looks fine to me; we could consider replacing all internal uses of _long_axis() by the public long_axis but there's no urgency to do that.
|
I think I replaced all the _long_axis calls. |
|
Can we please still have a short discussion on naming? See #26896 (comment) |
There was a problem hiding this comment.
Blocking to prevent accidental merge until this is discussed per @timhoffm's comments
I don't love value or color cause those are the fill values of the colorbar (texture could be added instead of color) and not exactly the axis of the bar frame.
story645
left a comment
There was a problem hiding this comment.
Forgot to actually select request changes 🤦♀️
|
Let's move this forward. I still favor
But if not, let's not hold this up longer. |
|
@jklymak should we drop this still into 3.10? |
TST: check long axis correct
de0ce33 to
fecdb54
Compare
|
I'm going to go ahead and merge. Thanks for the ping. I still prefer "long axis" ;-) |
PR summary
As discussed in #26896 exposing a long_axis property for colorbar.
PR checklist