Skip to content

[MNT]: UserWarning from pyparsing upon immediate import #24972

@greglucas

Description

@greglucas

Summary

An immediate userwarning on import:

python -W always -c "import matplotlib"

lib/matplotlib/_fontconfig_pattern.py:71: UserWarning: warn_multiple_tokens_in_named_alternation: setting results name 'properties*' on MatchFirst expression will return a list of all parsed tokens in an And alternative, in prior versions only the first token was returned; enclose contained argument in Group

The pyparsing version installed is 3.0.9

Proposed fix

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions