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]: dollar_ticks example refers to unused formatter classes #25967

Copy link
Copy link
Closed
@anntzer

Description

@anntzer
Issue body actions

Documentation Link

https://matplotlib.org/stable/gallery/ticks/dollar_ticks.html

Problem

The intro of the example and the backreferences list state that the example uses a FormatStrFormatter (i.e. using old-style %-formatting), but that is not the case (it uses a {}-format string with implicit formatter construction).
The comment in the code "Use automatic StrMethodFormatter" is technically true, but rather unhelpful as there's no reference to what that formatter is.

Suggested improvement

At least the text and backreferences should be modified, but one may also wonder whether this example is useful as standalone (it may be merged with another formatter example, or need more explanatory text, or rewording of the mention of StrMethodFormatter).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    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.