Skip to content

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

Closed

Description

@gdmcbain

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>`.

Activity

  1. added a commit that references this issue on Feb 11, 2025
    1797089
  2. added this to the v3.10.0-doc milestone on Feb 12, 2025
  3. added a commit that references this issue on Feb 12, 2025
    8465b0f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions