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

[Bug]: warning printed when using fontconfig 2.17 #30248

Closed
@chrisjbillington

Description

@chrisjbillington

Bug summary

On Linux withfontconfig 2.17 (released in June 2025) installed, a warning is printed when making plots:

Fontconfig warning: using without calling FcInit()

Code for reproduction

>>>importmatplotlib.pyplotasplt>>>plt.plot([1,2,3], [4,5,6])Fontconfigwarning:usingwithoutcallingFcInit()[<matplotlib.lines.Line2Dobjectat0x7fa81cb0f4d0>]>>>

Actual outcome

Warning is printed to stderr:

Fontconfig warning: using without calling FcInit()

Expected outcome

no warning printed

Additional information

This closed issue onfontconfig's issue tracker suggests that downstream projects using fontconfig ought to make some change (presumably: calling a function namedFcInit()) to avoid this.

It sounds likefontconfig does what's needed (for the time being) such that there's no actual behavioural issue, so I think any change right now would just be to suppress the warning.

Operating system

Arch Linux

Matplotlib Version

3.10.3

Matplotlib Backend

qtagg

Python version

3.13.5

Jupyter version

No response

Installation

Linux package manager

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