Skip to content

Make Axes.semilogx and semilogy consistent in handling negative coords #11193

Closed as not planned
@Zac-HD

Description

@Zac-HD

Axes.semilogy has different default behaviour for out-of-bounds coords than Axes.semilogx - the former clips them to 0+eps, while in the x-dimension they're masked. The latter is thought to be the correct behavior. IIRC Axes.loglog is also affected.

However, if you trace back to matplotlib.scale.LogScale, the defaults there are both 'clip'.

This issue was discovered while working on #11137, so it would be nice to make the signatures involved more explicit at the same time as making the behavior consistent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked by the “Stale” Github Actiontopic: axes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions