Return the values at the upper end of the bars. .. versionadded:: 3.11
(self)
| 89 | |
| 90 | @property |
| 91 | def tops(self): |
| 92 | """ |
| 93 | Return the values at the upper end of the bars. |
| 94 | |
| 95 | .. versionadded:: 3.11 |
| 96 | """ |
| 97 | if self.orientation == 'vertical': |
| 98 | return [p.get_y() + p.get_height() for p in self.patches] |
| 99 | elif self.orientation == 'horizontal': |
| 100 | return [p.get_x() + p.get_width() for p in self.patches] |
| 101 | else: |
| 102 | raise ValueError("orientation must be 'vertical' or 'horizontal'.") |
| 103 | |
| 104 | @property |
| 105 | def position_centers(self): |
nothing calls this directly
no test coverage detected