Skip to content
Merged
Changes from 1 commit
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
Next Next commit
BUG: Return null Bbox when there is no intersection for bar_label cen…
…ter.
  • Loading branch information
stefmolin committed Apr 15, 2023
commit 859993bfcf03e8f3fd2ef5151ff589354e31c7c5
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2769,7 +2769,7 @@ def sign(x):
lambda r, b=bar:
mtransforms.Bbox.intersection(
b.get_window_extent(r), b.get_clip_box()
)
) or mtransforms.Bbox.null()
)
else: # edge
if orientation == "vertical":
Expand Down