🌐 AI搜索 & 代理 主页
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions lib/matplotlib/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down