Created attachment 948838 [details] The generated picture Description of problem: In python3, matplotlib.pyplot can't show Chinese Version-Release number of selected component (if applicable): $ python3 --version Python 3.3.2 Installed Packages Name : python3-matplotlib Arch : x86_64 Version : 1.3.1 Release : 3.fc20 Size : 54 M Repo : installed How reproducible: if __name__ == '__main__': import matplotlib.pyplot matplotlib.pyplot.scatter(None, None) matplotlib.pyplot.xlabel("汉语") matplotlib.pyplot.ylabel("English") matplotlib.pyplot.show() Steps to Reproduce: Run the test code Actual results: The xlabel showed □□ Expected results: 汉语 Additional info:
Could it be a matter of missing fonts?
(In reply to Zbigniew Jędrzejewski-Szmek from comment #1) > Could it be a matter of missing fonts? Maybe. How can I know which font is needed? Thanks.
This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
It is still a bug in Fedora 22
This is indeed a font issue. The default font (Vera Sans) does not have glyphs for Chinese. You just need to set the font search patch to include a font that _does_ have those glyphs. The easiest way is to set font.sans-serif : Font_With_Glyphs
Sorry, my last comment sent before I finished typing. The easiest way is to set font.sans-serif : Font_with_glyphs, Bitstream Vera Sans, Lucida Grande, Verdana, Geneva, Lucid, Arial, Helvetica, Avant Garde,sans-serif in your matplotlibrc file (see http://matplotlib.org/users/customizing.html#a-sample-matplotlibrc-file) This should be closed as is as user space configuration issue.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
Hopefully we can have fonts with better coverage as the default at some point, but right now "notabug" is better closing state.