Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[ENH]: Add long names for markers #29671

Open
@timhoffm

Description

@timhoffm

Problem

Suggested in#29646 (comment)

In addition to the single-char (and in rare cases int) marker definitions, we should also support long names"o" ->"circle". These long names should be supported wherever the short mnemonics are, with the exception of thefmt string syntax inplot() - that should still only accept single chars.

This allows more readable codemarker="tri_up" instead ofmarker="2". It also opens a route for deprecating the int markers, which create trouble for parsing/validating.

Proposed solution

The long names should mostly be the ones from the "description" column inhttps://matplotlib.org/devdocs/api/markers_api.html#module-matplotlib.markers, with some slight adjustments:

  • "filled_plus" instead of "plus (filled)"
  • do not include "nothing" - we already have more than enough no-marker definitions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp