Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[ENH]: Allow list of padding values for bar_label #29647

Copy link
Copy link
Closed
@nhansendev

Description

@nhansendev
Issue body actions

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 to bar_label so that I can target this specific label (instead of the current all-or-nothing float value):
Image

With manually added labels I can add padding to just the desired label, but it would be nice as a built-in option:
Image

Proposed solution

Add logic to check if the padding parameter of bar_label is an appropriate-length iterable and apply padding accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueOpen a pull request against these issues if there are no active ones!Open a pull request against these issues if there are no active ones!New feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.