Skip to content

Adding padding around marginals (plotly express) #2196

@harisbal

Description

@harisbal

I was wondering whether there is any easy fix for adjusting the space between the main plot and its marginals.
As you can see below I want to draw the xaxis values along the marginal_y distribution but they end up inside the main plot area.
Annotation 2020-02-14 153731

Setting automargin=True for all axes did not help. I suppose a dirty fix of the domains could do the trick but I wanted to make sure there is no other "cleaner" alternative.

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