(self, maxs, mins)
| 300 | return mins, maxs, bounds_proj, highs |
| 301 | |
| 302 | def _calc_centers_deltas(self, maxs, mins): |
| 303 | centers = 0.5 * (maxs + mins) |
| 304 | # In mpl3.8, the scale factor was 1/12. mpl3.9 changes this to |
| 305 | # 1/12 * 24/25 = 0.08 to compensate for the change in automargin |
| 306 | # behavior and keep appearance the same. The 24/25 factor is from the |
| 307 | # 1/48 padding added to each side of the axis in mpl3.8. |
| 308 | scale = 0.08 |
| 309 | deltas = (maxs - mins) * scale |
| 310 | return centers, deltas |
| 311 | |
| 312 | def _get_axis_line_edge_points(self, minmax, maxmin, position=None): |
| 313 | """Get the edge points for the black bolded axis line.""" |
no outgoing calls
no test coverage detected