Skip to content

geom_ribbon(): tooltip appears in wrong place on flipped ribbon #1334

@EArkhipova-HORIS

Description

@EArkhipova-HORIS

Example:

data = {
    'val': [1, 2, 3],
    'min': [-2, -1, -2],
    'max': [1, 2, 0],
}

ggplot(data) + geom_ribbon(aes(y='val', xmin='min', xmax='max'))

The tooltip appears in wrong place on y-oriented ribbon in this example.

Image

This problem appeared in LP v4.4.0, previously the tooltips for geom_ribbon() looked another way:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions