Skip to content

Better autoranging for carpet plots #2289

@alexcjohnson

Description

@alexcjohnson
Collaborator

Currently the container axes for carpet plots are autoranged with a fixed percentage buffer around all edges of the carpet area. But for large carpets this is too much, and for small carpets too little - titles can get clipped - see eg cheaterslope.png which isn't even autoranged, it's manually ranged more generously, but the titles are still cut off.

Figuring out a better autorange than this would require sizing and calculating positions for the text upfront, then using that to pad the containing axes.

Activity

gvwilson

gvwilson commented on Jun 11, 2024

@gvwilson
Contributor

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gvwilson@alexcjohnson

        Issue actions

          Better autoranging for carpet plots · Issue #2289 · plotly/plotly.js