Bug 929383 - Matplotlib not working with Python 3
Summary: Matplotlib not working with Python 3
Keywords:
Status: CLOSED DUPLICATE of bug 928326
Alias: None
Product: Fedora
Classification: Fedora
Component: python-matplotlib
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Spura
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-30 10:05 UTC by Amit Saha
Modified: 2015-07-26 22:15 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-10 13:18:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Amit Saha 2013-03-30 10:05:17 UTC
Description of problem:

I am not sure if this is an upstream issue, so reporting this here. I have python3-matplotlib-1.2.0-8.fc18.x86_64 installed. 

When I tried to execute the histogram demo [1], I get this traceback [2].


[1] http://matplotlib.org/examples/api/histogram_demo.html
[2] http://pastebin.ca/2345456

Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1. Install python3-matplotlib
2. Download the histogram demo.
3. Run 
  
Actual results:

Traceback.

Expected results:

Plot.

Additional info:

Comment 1 Amit Saha 2013-03-30 10:59:22 UTC
So, it turned out after I asked the question on SO [1] that it is an issue with font_manager.py (/usr/lib64/python3.3/site-packages/matplotlib/font_manager.py). I had to set USE_FONTCONFIG = False in this module and it worked.


[1] http://stackoverflow.com/questions/15717119/python-3-and-matplotlib-lissue-on-linux

Comment 2 Amit Saha 2013-03-30 14:32:33 UTC
Upstream bug filed: https://github.com/matplotlib/matplotlib/issues/1873

Comment 3 Thomas Spura 2013-04-10 13:18:06 UTC

*** This bug has been marked as a duplicate of bug 928326 ***


Note You need to log in before you can comment on or make changes to this bug.