Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Doc]: axvline.x sets x not y #29606

Copy link
Copy link
Closed
@gdmcbain

Description

@gdmcbain
Issue body actions

Documentation Link

https://matplotlib.org/devdocs/api/_as_gen/matplotlib.axes.Axes.axvline.html#matplotlib.axes.Axes.axvline

Problem

The documentation for the first argument, x of axhline describes it as

x : float, default: 0
y position in :ref:`data coordinates <coordinate-systems>`.

but really it sets x rather than y.

Suggested improvement

        x : float, default: 0
            x position in :ref:`data coordinates <coordinate-systems>`.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.