Opened 13 years ago
Closed 11 years ago
#2900 closed defect (fixed)
[with patch, positive review] matplotlib bug in imshow (probably fixed in new version)
Reported by: | cwitty | Owned by: | mabshoff |
---|---|---|---|
Priority: | major | Milestone: | sage-4.2 |
Component: | packages: standard | Keywords: | |
Cc: | jhpalmieri, jason | Merged in: | sage-4.2.alpha0 |
Authors: | Karl-Dieter Crisman | Reviewers: | Jason Grout |
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Sage's current version of matplotlib has a bug, as reported by Fabio Tonti (http://groups.google.com/group/sage-support/browse_thread/thread/a41e9ab2b158c41e#):
sage: from pylab import * sage: imshow([[(0,0,0)]]) sage: savefig('foo.png') Traceback (most recent call last): ... NameError: global name 'npy' is not defined
It looks like this bug has been fixed in 0.91.2 (although I haven't actually tried it); we should upgrade.
Attachments (2)
Change History (8)
comment:1 Changed 12 years ago by
comment:2 Changed 11 years ago by
To release manager: This is now fixed, given #5448 (and perhaps long before that):
sage: from pylab import * sage: imshow([[(0,0,0)]]) <matplotlib.image.AxesImage object at 0xa50f190> sage: savefig('foo.png')
foo.png is attached.
Changed 11 years ago by
comment:3 Changed 11 years ago by
- Cc jhpalmieri added
- Milestone changed from sage-4.1.2 to sage-4.1.3
- Summary changed from matplotlib bug in imshow (probably fixed in new version) to [with patch, needs review] matplotlib bug in imshow (probably fixed in new version)
The patch verifies this is fixed, and uses the new (better) syntax from #7059.
comment:4 Changed 11 years ago by
- Cc jason added
comment:5 Changed 11 years ago by
- Summary changed from [with patch, needs review] matplotlib bug in imshow (probably fixed in new version) to [with patch, positive review] matplotlib bug in imshow (probably fixed in new version)
Thanks for making a doctest patch.
comment:6 Changed 11 years ago by
- Merged in set to sage-4.2.alpha0
- Resolution set to fixed
- Reviewers set to Jason Grout
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
This still fails with Sage 3.2.1.rc1 (which ships with matplotlib 0.98.3):
Cheers,
Michael