diff --git a/lib/matplotlib/axis.py b/lib/matplotlib/axis.py index fff753704cea..0b4646cd5df7 100644 --- a/lib/matplotlib/axis.py +++ b/lib/matplotlib/axis.py @@ -1374,12 +1374,8 @@ def draw(self, renderer, *args, **kwargs): for tick in ticks_to_draw: tick.draw(renderer) - # Scale up the axis label box to also find the neighbors, not just the - # tick labels that actually overlap. We need a *copy* of the axis - # label box because we don't want to scale the actual bbox. - + # Shift label away from axes to avoid overlapping ticklabels. self._update_label_position(renderer) - self.label.draw(renderer) self._update_offset_text_position(tlb1, tlb2)
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: