Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Problem
Sometimes when adding labels to bar plots the labels will overlap another item and need padding. In this example the label "300" (column D) is too low and overlaps other text. Ideally I could just provide padding as a list tobar_label
so that I can target this specific label (instead of the current all-or-nothing float value):
With manually added labels I can add padding to just the desired label, but it would be nice as a built-in option:
Proposed solution
Add logic to check if thepadding
parameter ofbar_label
is an appropriate-length iterable and apply padding accordingly.