Skip to content

display only category label on axis for multicategory plots #3884

@aamster

Description

@aamster

I would like to display only the category, and not the specific tick labels on the axis. For example, in this example https://codepen.io/plotly/pen/bOByWR I would like to only display 'SF Zoo' and 'LA Zoo'. I've tried several hacks such as setting tick labels to empty string, but in my case the plot still leaves room for the tick labels and it looks weird. See what I mean:
image

Is there a way to accomplish this? I think I might have to use the idea of subcategory axis instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions