Skip to content

Can't see tip for small plots #1735

@harrylojames

Description

@harrylojames

Hi,

For a small plot, such as a thin 1d bar chart, the tip pop up is mostly hidden.

image

https://observablehq.com/d/5f88da5ac9614540

I imagine I'm missing something but I can't find an intuitive way to make the whole tip appear without changing the dimensions of the plot. Specifically, the following should remain unchanged, the position of the x axis label, the distance from the bar chart to the legend and the thickness of the bar.

The original plot tooltip notebook suggested using paddingTop but works as expected even without it.

image

https://observablehq.com/@mkfreeman/plot-tooltip#cell-126

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions