FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Tag]: version: 3.N · Issue #27292 · matplotlib/matplotlib · GitHub

Repository navigation

[Tag]: version: 3.N #27292

Open
Open

Description

Need

It's nice to have ways to highlight when something comes into the library, especially newer features xref: #15920

If we can add a tag for versions, that'll let us highlight what in the gallery came in on a specific version -> specifically new features. Tagging by version number means we don't have to move a whole bunch of tags on every new version. Adding "and add tag: N.M" to the other documenting new features instructions isn't a big deal.

Proposed solution

We should use the same format as the versioning directives, version: 3.N

Activity

  1. rcomer commented on Nov 9, 2023

    Member

    Sometimes an existing example is modified to show a new feature, e.g. #23208. Would you still add the tag in that case?

  2. story645 commented on Nov 9, 2023

    MemberAuthor

    I think so - it's still showing a feature that came in recently. I think the only complication is if an example warrants multiple version tags, making it clear which feature goes to which tag - but that may be a good usecase for putting tags in places other than the bottom if it's an example with multiple parts.

  3. timhoffm commented on Nov 9, 2023

    Member

    IMHO the Tag should only be set if the feature is the central aspect of the example. It should be rare that we‘ll have duplicate labels then.

    More generally, labels can have two functions:

    • Show the minimal requirement needed for the example.
    • Draw attentions to new features.

    The first one is not reliable, because minor aspects of the example may still need newer versions.
    This leaves us with the second, so that we can always resolve to the newest version.

  4. story645 commented on Nov 9, 2023

    MemberAuthor

    the Tag should only be set if the feature is the central aspect of the example

    I'm fine w/ that criteria and it fits w/ the other "versioning guidelines" criteria.

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL