8000 [ENH]: secondary_x/yaxis accept transform argument · Issue #25119 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
[ENH]: secondary_x/yaxis accept transform argument #25119
Closed
@jklymak

Description

@jklymak

Problem

#25117 wanted to put an extra axes at y=0. It should be possible to pass ax.transData to secondary_xaxis so that the location variable is understood as data co-ordinates, not axes-relative co-ordinates.

Proposed solution

secondary_xaxis(0, transform=ax.transData) should put the secondary axes at y=0. Of course the default should be ax.transAxes for back-compatibility.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0