You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(1) |
|
2
(10) |
3
(29) |
4
(56) |
5
(44) |
6
(26) |
7
(12) |
8
(1) |
|
9
(2) |
10
(11) |
11
(28) |
12
(17) |
13
(6) |
14
(17) |
15
(7) |
|
16
(1) |
17
(8) |
18
(8) |
19
(7) |
20
(2) |
21
(8) |
22
(4) |
|
23
(6) |
24
(1) |
25
(2) |
26
(8) |
27
(3) |
28
(5) |
29
(1) |
|
30
|
31
(1) |
|
|
|
|
|
|
From: John H. <jd...@gm...> - 2007-12-03 23:54:00
|
On Dec 3, 2007 5:49 PM, John Hunter <jd...@gm...> wrote: > Charlie, I don't know how you handled this last time, but is there > something in setuptools you have to disable for this build? Well, here's a clue: matplotlib/__init__.py does not exist in this instal JDH |
|
From: John H. <jd...@gm...> - 2007-12-03 23:49:33
|
On Dec 3, 2007 5:44 PM, Charlie Moad <cw...@gm...> wrote: > I gave it a try, and I did not get this error. I am seeing the problem on python2.5 using the binary exe installer. It appears we are getting fouled up by setuptools special handling of the __init__.py file, which is supposed to be empty I think to support namespace packages. All the stuff we are defining in matplotlib/__init__.py, like rcParams and friends, is being lost. Instead, a >>> import matplotlib >>> dir(matplotlib) just shows the special names '__path__', '__doc__', and '__name__', and the 'toolkit' dir. Charlie, I don't know how you handled this last time, but is there something in setuptools you have to disable for this build? JDH |
|
From: Charlie M. <cw...@gm...> - 2007-12-03 23:44:58
|
I gave it a try, and I did not get this error. - Charlie On Dec 3, 2007 12:57 PM, J=F6rgen Stenarson <jor...@bo...> = wrote: > Hi, > > After upgrading to the new matplotlib 0.9.1 on python2.4 using the > windows binary installer I get the following error: > > > C:\>python > Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on > win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> import pylab > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "C:\Python24\Lib\site-packages\pylab.py", line 1, in ? > from matplotlib.pylab import * > File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 206, in= ? > from matplotlib.numerix import npyma as ma > File "C:\Python24\Lib\site-packages\matplotlib\numerix\__init__.py", > line 20, in ? > from matplotlib import rcParams, verbose > ImportError: cannot import name rcParams > > Does anyone else see the same thing? > > > best regards > J=F6rgen > > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Chris F. <lis...@ma...> - 2007-12-03 23:38:34
|
OK, I'm having a bad backend day (insert joke here).
Since I am on OSX, I decided to switch over to the CocoaAgg backend,
but it fails when trying to show a histogram, yielding the following
TypeError:
In [4]: from matplotlib import use
In [5]: use('CocoaAgg')
In [6]: from pylab import hist, show
In [7]: from numpy import random
In [8]: x = random.exponential(2, 1000)
In [9]: hist(x)
Out[9]:
(array([545, 230, 117, 59, 18, 15, 11, 1, 3, 1]),
array([ 2.99606603e-03, 1.52977050e+00, 3.05654494e+00,
4.58331937e+00, 6.11009381e+00, 7.63686824e+00,
9.16364268e+00, 1.06904171e+01, 1.22171915e+01,
1.37439660e+01]),
<a list of 10 Patch objects>)
In [10]: show()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/Users/chris/Projects/Occupancy-abundance Manuscript/<ipython console>
in <module>()
/Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
in show()
44 def show():
45 for manager in Gcf.get_all_fig_managers():
---> 46 manager.show()
47
48 def draw_if_interactive():
/Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
in show(self)
203 mplBundle,
204 False)
--> 205 NSApplication.sharedApplication().run()
206
207
/Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
in startWithBundle_(self, bundle)
179 def startWithBundle_(self, bundle):
180 #NSApplicationLoad()
--> 181 if not
bundle.loadNibFile_externalNameTable_withZone_('Matplotlib.nib', {},
None):
182 print >>sys.stderr, 'Unable to load Matplotlib Cocoa UI!'
183 sys.exit()
/Library/Python/2.5/site-packages/matplotlib/backends/backend_cocoaagg.py
in awakeFromNib(self)
79
80 self.plotView.setImageFrameStyle_(NSImageFrameGroove)
---> 81 self.plotView.image = NSImage.alloc().initWithSize_((0,0))
82 self.plotView.setImage_(self.plotView.image)
83
TypeError: cannot change a method
--
Christopher J. Fonnesbeck
+ Fish & Wildlife Research Institute (FWC)
+ 727.235.5570
|
|
From: <jor...@bo...> - 2007-12-03 17:57:43
|
Hi,
After upgrading to the new matplotlib 0.9.1 on python2.4 using the
windows binary installer I get the following error:
C:\>python
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python24\Lib\site-packages\pylab.py", line 1, in ?
from matplotlib.pylab import *
File "C:\Python24\Lib\site-packages\matplotlib\pylab.py", line 206, in ?
from matplotlib.numerix import npyma as ma
File "C:\Python24\Lib\site-packages\matplotlib\numerix\__init__.py",
line 20, in ?
from matplotlib import rcParams, verbose
ImportError: cannot import name rcParams
Does anyone else see the same thing?
best regards
Jörgen
|
|
From: John H. <jd...@gm...> - 2007-12-03 16:13:08
|
On Dec 3, 2007 10:08 AM, Chris Fonnesbeck <lis...@ma...> wrote: > > On Dec 3, 2007 10:58 AM, John Hunter <jd...@gm...> wrote: > > On Dec 2, 2007 9:23 PM, Chris Fonnesbeck <lis...@ma...> wrote: > > > Running a recent build from svn on OSX 10.5, the TkAgg interface > > > becomes unresponsive after plotting a histogram and calling show(). > > > Here is a sample from the process, in case it is useful: > > > > Is it only hist that is hanging? Does plot work.... This one has me > > a bit stumped. > > Same thing. Here is what I did: > > In [1]: from matplotlib import use Sorry for the confusion, I was still on the *old* problem of tkagg hanging w/ hist, and was wondering if it was hanging with other plot commands too. Not that you can easily test now w/ the active tcl install. |
|
From: Chris F. <lis...@ma...> - 2007-12-03 16:09:31
|
On Dec 3, 2007 11:04 AM, Michael Droettboom <md...@st...> wrote: > Possibly related to the _tkagg extension -- that's what defines the > "PyAggImagePhoto" method. If you installed ActiveState's Tcl/Tk after > building matplotlib, that could explain this. Try doing a clean build > of matplotlib again (removing the build directory first). > > But that's only a suggestion -- I don't use Macs much. Thanks for the suggestion. I did do a fresh svn update and build after installing Tk/Tcl. -- Christopher J. Fonnesbeck + Fish & Wildlife Research Institute (FWC) + 727.235.5570 |
|
From: Chris F. <lis...@ma...> - 2007-12-03 16:08:36
|
On Dec 3, 2007 10:58 AM, John Hunter <jd...@gm...> wrote:
> On Dec 2, 2007 9:23 PM, Chris Fonnesbeck <lis...@ma...> wrote:
> > Running a recent build from svn on OSX 10.5, the TkAgg interface
> > becomes unresponsive after plotting a histogram and calling show().
> > Here is a sample from the process, in case it is useful:
>
> Is it only hist that is hanging? Does plot work.... This one has me
> a bit stumped.
Same thing. Here is what I did:
In [1]: from matplotlib import use
In [2]: use('TkAgg')
In [3]: from numpy import random
In [4]: x = random.gamma(0.1, 1000, 1000)
In [5]: from pylab import *
In [6]: plot(x)
Out[6]: [<matplotlib.lines.Line2D instance at 0x1dda508>]
In [7]: show()
Exception in Tkinter callback
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py",
line 1403, in __call__
return self.func(*args)
File "/Library/Python/2.5/site-packages/matplotlib/backends/backend_tkagg.py",
line 188, in resize
self.show()
File "/Library/Python/2.5/site-packages/matplotlib/backends/backend_tkagg.py",
line 192, in draw
tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)
File "/Library/Python/2.5/site-packages/matplotlib/backends/tkagg.py",
line 15, in blit
tk.call("PyAggImagePhoto", photoimage, id(aggimage), colormode, id(bbox))
TclError
--
Christopher J. Fonnesbeck
+ Fish & Wildlife Research Institute (FWC)
+ 727.235.5570
|
|
From: Michael D. <md...@st...> - 2007-12-03 16:04:50
|
Possibly related to the _tkagg extension -- that's what defines the
"PyAggImagePhoto" method. If you installed ActiveState's Tcl/Tk after
building matplotlib, that could explain this. Try doing a clean build
of matplotlib again (removing the build directory first).
But that's only a suggestion -- I don't use Macs much.
Cheers,
Mike
Chris Fonnesbeck wrote:
> On Dec 2, 2007 10:44 PM, John Hunter <jd...@gm...> wrote:
>> On Dec 2, 2007 9:23 PM, Chris Fonnesbeck <lis...@ma...> wrote:
>>> Running a recent build from svn on OSX 10.5, the TkAgg interface
>>> becomes unresponsive after plotting a histogram and calling show().
>>> Here is a sample from the process, in case it is useful:
>> I'm not seeing this with tkagg on 10.5. hist is working fine for me
>> both in ipython and running histogram_demo.py -- what tcl/tk are you
>> building against?
>
> I've just tried installing ActiveState's Tk/Tcl, but I get the
> following error when I try to plot anything:
>
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py",
> line 1403, in __call__
> return self.func(*args)
> File "/Library/Python/2.5/site-packages/matplotlib/backends/backend_tkagg.py",
> line 188, in resize
> self.show()
> File "/Library/Python/2.5/site-packages/matplotlib/backends/backend_tkagg.py",
> line 192, in draw
> tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)
> File "/Library/Python/2.5/site-packages/matplotlib/backends/tkagg.py",
> line 15, in blit
> tk.call("PyAggImagePhoto", photoimage, id(aggimage), colormode, id(bbox))
> TclError
>
>
>
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
|
|
From: John H. <jd...@gm...> - 2007-12-03 15:58:24
|
On Dec 2, 2007 9:23 PM, Chris Fonnesbeck <lis...@ma...> wrote: > Running a recent build from svn on OSX 10.5, the TkAgg interface > becomes unresponsive after plotting a histogram and calling show(). > Here is a sample from the process, in case it is useful: Is it only hist that is hanging? Does plot work.... This one has me a bit stumped. JDH |
|
From: John H. <jd...@gm...> - 2007-12-03 15:42:12
|
A new release of matplotlib is posted to the sourceforge download site http://sourceforge.net/project/showfiles.php?group_id=80706 You can read the release notes with links at http://matplotlib.sourceforge.net/whats_new.html enhanced mathtext - Complete revamp of matplotlib's internal math layout and rendering engine. Michael Droetboom has improved the TeX parser to significantly expand it's coverege, and implemeted Knuth's box layout algorithms. Additionally, the much anticipated STIX fonts for math expressions have come online and ship with matplotlib. See a sample of the new mathtext at http://matplotlib.sourceforge.net/screenshots.html#mathtext_examples better configuration - Darren Dale has provided support for a site.cfg configuration file to enable users and package maintainers to have better control over the matplotlib build process. He has also provided a (currently optional) enthought.traits enabled property configuration to replace matplotlib's rc configuration using a maplotlib.conf file writing to file-like objects - You can now pass file like objects (eg StringIO) to all backends for hardcopy. This has been a much requested feature for usage in web application servers. record array support - New functions for loading, displaying and saving numpy record arrays in matplotlib.mlab. See for example, http://matplotlib.sourceforge.net/examples/loadrec.py pyplot - Added a module matplotlib.pyplot which has all of pylab's plotting functions (eg figure, plot, show, close) but does not import the numpy namepace. This is useful for those who want to use the pylab functionality w/o the namespace clutter. http://matplotlib.sourceforge.net/matplotlib.pyplot.html maskedarray - Added optional support for the scipy sandbox masked array packaged. Configurable with an rc setting. plotfile - Added new pylab/pyplot command plotfile for gnuplot style file plotting http://matplotlib.sourceforge.net/matplotlib.pyplot.html#-plotfile http://matplotlib.sourceforge.net/examples/plotfile_demo.py Here is the complete CHANGELOG =============================================================== 2007-11-27 Released 0.91.1 at revision 4517 =============================================================== 2007-11-27 Released 0.91.0 at revision 4478 2007-11-13 All backends now support writing to a file-like object, not just a regular file. savefig() can be passed a file-like object in place of a file path. - MGD 2007-11-13 Improved the default backend selection at build time: SVG -> Agg -> TkAgg -> WXAgg -> GTK -> GTKAgg. The last usable backend in this progression will be chosen in the default config file. If a backend is defined in setup.cfg, that will be the default backend - DSD 2007-11-13 Improved creation of default config files at build time for traited config package - DSD 2007-11-12 Exposed all the build options in setup.cfg. These options are read into a dict called "options" by setupext.py. Also, added "-mpl" tags to the version strings for packages provided by matplotlib. Versions provided by mpl will be identified and updated on subsequent installs - DSD 2007-11-12 Added support for STIX fonts. A new rcParam, mathtext.fontset, can be used to choose between: 'cm': The TeX/LaTeX Computer Modern fonts 'stix': The STIX fonts (see stixfonts.org) 'stixsans': The STIX fonts, using sans-serif glyphs by default 'custom': A generic Unicode font, in which case the mathtext font must be specified using mathtext.bf, mathtext.it, mathtext.sf etc. Added a new example, stix_fonts_demo.py to show how to access different fonts and unusual symbols. - MGD 2007-11-12 Options to disable building backend extension modules moved from setup.py to setup.cfg - DSD 2007-11-09 Applied Martin Teichmann's patch 1828813: a QPainter is used in paintEvent, which has to be destroyed using the method end(). If matplotlib raises an exception before the call to end - and it does if you feed it with bad data - this method end() is never called and Qt4 will start spitting error messages 2007-11-09 Moved pyparsing back into matplotlib namespace. Don't use system pyparsing, API is too variable from one release to the next - DSD 2007-11-08 Made pylab use straight numpy instead of oldnumeric by default - EF 2007-11-08 Added additional record array utilites to mlab (rec2excel, rec2gtk, rec_join, rec_append_field, rec_drop_field) - JDH 2007-11-08 Updated pytz to version 2007g - DSD 2007-11-08 Updated pyparsing to version 1.4.8 - DSD 2007-11-08 Moved csv2rec to recutils and added other record array utilities - JDH 2007-11-08 If available, use existing pyparsing installation - DSD 2007-11-07 Removed old enthought.traits from lib/matplotlib, added Gael Varoquaux's enthought.traits-2.6b1, which is stripped of setuptools. The package is installed to site-packages if not already available - DSD 2007-11-05 Added easy access to minor tick properties; slight mod of patch by Pierre G-M - EF 2007-11-02 Commited Phil Thompson's patch 1599876, fixes to Qt4Agg backend and qt4 blitting demo - DSD 2007-11-02 Commited Phil Thompson's patch 1599876, fixes to Qt4Agg backend and qt4 blitting demo - DSD 2007-10-31 Made log color scale easier to use with contourf; automatic level generation now works. - EF 2007-10-24 Added ax kwarg to Figure.colorbar and pyplot.colorbar - EF 2007-10-19 Removed a gsave/grestore pair surrounding _draw_ps, which was causing a loss graphics state info (see "EPS output problem - scatter & edgecolors" on mpl-dev, 2007-10-29) - DSD 2007-10-15 Fixed a bug in patches.Ellipse that was broken for aspect='auto'. Scale free ellipses now work properly for equal and auto on Agg and PS, and they fall back on a polygonal approximation for nonlinear transformations until we convince oursleves that the spline approximation holds for nonlinear transformations. Added unit/ellipse_compare.py to compare spline with vertex approx for both aspects. JDH 2007-10-05 remove generator expressions from texmanager and mpltraits. generator expressions are not supported by python-2.3 - DSD 2007-10-01 Made matplotlib.use() raise an exception if called after backends has been imported. - EF 2007-09-30 Modified update* methods of Bbox and Interval so they work with reversed axes. Prior to this, trying to set the ticks on a reversed axis failed with an uninformative error message. - EF 2007-09-30 Applied patches to axes3d to fix index error problem - EF 2007-09-24 Applied Eike Welk's patch reported on mpl-dev on 2007-09-22 Fixes a bug with multiple plot windows in the qt backend, ported the changes to backend_qt4 as well - DSD 2007-09-21 Changed cbook.reversed to yield the same result as the python reversed builtin - DSD 2007-09-13 The usetex support in the pdf backend is more usable now, so I am enabling it. - JKS 2007-09-12 Fixed a Axes.bar unit bug - JDH 2007-09-10 Made skiprows=1 the default on csv2rec - JDH 2007-09-09 Split out the plotting part of pylab and put it in pyplot.py; removed numerix from the remaining pylab.py, which imports everything from pyplot.py. The intention is that apart from cleanups, the result of importing from pylab is nearly unchanged, but there is the new alternative of importing from pyplot to get the state-engine graphics without all the numeric functions. Numpified examples; deleted two that were obsolete; modified some to use pyplot. - EF 2007-09-08 Eliminated gd and paint backends - EF 2007-09-06 .bmp file format is now longer an alias for .raw 2007-09-07 Added clip path support to pdf backend. - JKS 2007-09-06 Fixed a bug in the embedding of Type 1 fonts in PDF. Now it doesn't crash Preview.app. - JKS 2007-09-06 Refactored image saving code so that all GUI backends can save most image types. See FILETYPES for a matrix of backends and their supported file types. Backend canvases should no longer write their own print_figure() method -- instead they should write a print_xxx method for each filetype they can output and add an entry to their class-scoped filetypes dictionary. - MGD 2007-09-05 Fixed Qt version reporting in setupext.py - DSD 2007-09-04 Embedding Type 1 fonts in PDF, and thus usetex support via dviread, sort of works. To test, enable it by renaming _draw_tex to draw_tex. - JKS 2007-09-03 Added ability of errorbar show limits via caret or arrowhead ends on the bars; patch by Manual Metz. - EF 2007-09-03 Created type1font.py, added features to AFM and FT2Font (see API_CHANGES), started work on embedding Type 1 fonts in pdf files. - JKS 2007-09-02 Continued work on dviread.py. - JKS 2007-08-16 Added a set_extent method to AxesImage, allow data extent to be modified after initial call to imshow - DSD 2007-08-14 Fixed a bug in pyqt4 subplots-adjust. Thanks to Xavier Gnata for the report and suggested fix - DSD 2007-08-13 Use pickle to cache entire fontManager; change to using font_manager module-level function findfont wrapper for the fontManager.findfont method - EF 2007-08-11 Numpification and cleanup of mlab.py and some examples - EF 2007-08-06 Removed mathtext2 2007-07-31 Refactoring of distutils scripts. - Will not fail on the entire build if an optional Python package (e.g. Tkinter) is installed but its development headers are not (e.g. tk-devel). Instead, it will continue to build all other extensions. - Provide an overview at the top of the output to display what dependencies and their versions were found, and (by extension) what will be built. - Use pkg-config, when available, to find freetype2, since this was broken on Mac OS-X when using MacPorts in a non- standard location. 2007-07-30 Reorganized configuration code to work with traited config objects. The new config system is located in the matplotlib.config package, but it is disabled by default. To enable it, set NEWCONFIG=True in matplotlib.__init__.py. The new configuration system will still use the old matplotlibrc files by default. To switch to the experimental, traited configuration, set USE_TRAITED_CONFIG=True in config.__init__.py. 2007-07-29 Changed default pcolor shading to flat; added aliases to make collection kwargs agree with setter names, so updating works; related minor cleanups. Removed quiver_classic, scatter_classic, pcolor_classic. - EF 2007-07-26 Major rewrite of mathtext.py, using the TeX box layout model. There is one (known) backward incompatible change. The font commands (\cal, \rm, \it, \tt) now behave as TeX does: they are in effect until the next font change command or the end of the grouping. Therefore uses of $\cal{R}$ should be changed to ${\cal R}$. Alternatively, you may use the new LaTeX-style font commands (\mathcal, \mathrm, \mathit, \mathtt) which do affect the following group, eg. $\mathcal{R}$. Other new features include: - Math may be interspersed with non-math text. Any text with an even number of $'s (non-escaped) will be sent to the mathtext parser for layout. - Sub/superscripts are less likely to accidentally overlap. - Support for sub/superscripts in either order, eg. $x^i_j$ and $x_j^i$ are equivalent. - Double sub/superscripts (eg. $x_i_j$) are considered ambiguous and raise an exception. Use braces to disambiguate. - $\frac{x}{y}$ can be used for displaying fractions. - $\sqrt[3]{x}$ can be used to display the radical symbol with a root number and body. - $\left(\frac{x}{y}\right)$ may be used to create parentheses and other delimiters that automatically resize to the height of their contents. - Spacing around operators etc. is now generally more like TeX. - Added support (and fonts) for boldface (\bf) and sans-serif (\sf) symbols. - Log-like function name shortcuts are supported. For example, $\sin(x)$ may be used instead of ${\rm sin}(x)$ - Limited use of kerning for the easy case (same font) Behind the scenes, the pyparsing.py module used for doing the math parsing was updated to the latest stable version (1.4.6). A lot of duplicate code was refactored out of the Font classes. - MGD 2007-07-19 completed numpification of most trivial cases - NN 2007-07-19 converted non-numpy relicts throughout the code - NN 2007-07-19 replaced the Python code in numerix/ by a minimal wrapper around numpy that explicitly mentions all symbols that need to be addressed for further numpification - NN 2007-07-18 make usetex respect changes to rcParams. texmanager used to only configure itself when it was created, now it reconfigures when rcParams are changed. Thank you Alexander Schmolck for contributing a patch - DSD 2007-07-17 added validation to setting and changing rcParams - DSD 2007-07-17 bugfix segfault in transforms module. Thanks Ben North for the patch. - ADS 2007-07-16 clean up some code in ticker.ScalarFormatter, use unicode to render multiplication sign in offset ticklabel - DSD 2007-07-16 fixed a formatting bug in ticker.ScalarFormatter's scientific notation (10^0 was being rendered as 10 in some cases) - DSD 2007-07-13 Add MPL_isfinite64() and MPL_isinf64() for testing doubles in (the now misnamed) MPL_isnan.h. - ADS 2007-07-13 The matplotlib._isnan module removed (use numpy.isnan) - ADS 2007-07-13 Some minor cleanups in _transforms.cpp - ADS 2007-07-13 Removed the rest of the numerix extension code detritus, numpified axes.py, and cleaned up the imports in axes.py - JDH 2007-07-13 Added legend.loc as configurable option that could in future default to 'best'. - NN 2007-07-12 Bugfixes in mlab.py to coerce inputs into numpy arrays. -ADS 2007-07-11 Added linespacing kwarg to text.Text - EF 2007-07-11 Added code to store font paths in SVG files. - MGD 2007-07-10 Store subset of TTF font as a Type 3 font in PDF files. - MGD 2007-07-09 Store subset of TTF font as a Type 3 font in PS files. - MGD 2007-07-09 Applied Paul's pick restructure pick and add pickers, sourceforge patch 1749829 - JDH 2007-07-09 Applied Allan's draw_lines agg optimization. JDH 2007-07-08 Applied Carl Worth's patch to fix cairo draw_arc - SC 2007-07-07 fixed bug 1712099: xpdf distiller on windows - DSD 2007-06-30 Applied patches to tkagg, gtk, and wx backends to reduce memory leakage. Patches supplied by Mike Droettboom; see tracker numbers 1745400, 1745406, 1745408. Also made unit/memleak_gui.py more flexible with command-line options. - EF 2007-06-30 Split defaultParams into separate file rcdefaults (together with validation code). Some heavy refactoring was necessary to do so, but the overall behavior should be the same as before. - NN 2007-06-27 Added MPLCONFIGDIR for the default location for mpl data and configuration. useful for some apache installs where HOME is not writable. Tried to clean up the logic in _get_config_dir to support non-writable HOME where are writable HOME/.matplotlib already exists - JDH 2007-06-27 Fixed locale bug reported at http://sourceforge.net/tracker/index.php?func=detail&aid=1744154&group_id=80706&atid=560720 by adding a cbook.unicode_safe function - JDH 2007-06-27 Applied Micheal's tk savefig bugfix described at http://sourceforge.net/tracker/index.php?func=detail&aid=1716732&group_id=80706&atid=560720 Thanks Michael! 2007-06-27 Patch for get_py2exe_datafiles() to work with new directory layout. (Thanks Tocer and also Werner Bruhin.) -ADS 2007-06-27 Added a scroll event to the mpl event handling system and implemented it for backends GTK* -- other backend users/developers/maintainers, please add support for your backend. - JDH 2007-06-25 Changed default to clip=False in colors.Normalize; modified ColorbarBase for easier colormap display - EF 2007-06-13 Added maskedarray option to rc, numerix - EF 2007-06-11 Python 2.5 compatibility fix for mlab.py - EF 2007-06-10 In matplotlibrc file, use 'dashed' | 'solid' instead of a pair of floats for contour.negative_linestyle - EF 2007-06-08 Allow plot and fill fmt string to be any mpl string colorspec - EF 2007-06-08 Added gnuplot file plotfile function to pylab -- see examples/plotfile_demo.py - JDH 2007-06-07 Disable build of numarray and Numeric extensions for internal MPL use and the numerix layer. - ADS 2007-06-07 Added csv2rec to matplotlib.mlab to support automatically converting csv files to record arrays using type introspection, and turned on native datetime support using the new units support in matplotlib.dates. See examples/loadrec.py ! JDH 2007-06-07 Simplified internal code of _auto_legend_data - NN 2007-06-04 Added labeldistance arg to Axes.pie to control the raidal distance of the wedge labels - JDH 2007-06-03 Turned mathtext in SVG into single <text> with multiple <tspan> objects (easier to edit in inkscape). - NN |
|
From: Darren D. <dar...@co...> - 2007-12-03 15:33:02
|
On Monday 03 December 2007 9:03:59 am Lionel Roubeyrie wrote:
> Hi all,
> there's a little problem with ghostscript on ubuntu gutsy, mpl complaints
> about a bad version :
> ipython -pylab
> /usr/lib/python2.5/site-packages/matplotlib/__init__.py:641: UserWarning:
> matplotlibrc ps.usedistiller option can not be used unless ghostscript-7.07
> or later is installed on your system
>
> but gs -v returns:
> GPL Ghostscript SVN PRE-RELEASE 8.61 (2007-08-02)
> Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
>
> Here is the modified __init__.py to deal with it :
> ################
> def checkdep_ghostscript():
> try:
> if sys.platform == 'win32':
> command = 'gswin32c -v'
> else:
> command = 'gs --version'
> stdin, stdout = os.popen4(command)
> line = stdout.readlines()[0]
> v = line.strip()
> vtest = '.'.join(v.split('.')[:2]) # deal with version numbers
> like '7.07.1'
> float(vtest)
> return vtest
> ################
> matplotlib.__version__
> Out [10]:'0.90.1'
This was fixed in matplotlib-0.91.1.
|
|
From: Chris F. <lis...@ma...> - 2007-12-03 15:31:39
|
On Dec 2, 2007 10:44 PM, John Hunter <jd...@gm...> wrote:
> On Dec 2, 2007 9:23 PM, Chris Fonnesbeck <lis...@ma...> wrote:
> > Running a recent build from svn on OSX 10.5, the TkAgg interface
> > becomes unresponsive after plotting a histogram and calling show().
> > Here is a sample from the process, in case it is useful:
>
> I'm not seeing this with tkagg on 10.5. hist is working fine for me
> both in ipython and running histogram_demo.py -- what tcl/tk are you
> building against?
I've just tried installing ActiveState's Tk/Tcl, but I get the
following error when I try to plot anything:
Exception in Tkinter callback
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py",
line 1403, in __call__
return self.func(*args)
File "/Library/Python/2.5/site-packages/matplotlib/backends/backend_tkagg.py",
line 188, in resize
self.show()
File "/Library/Python/2.5/site-packages/matplotlib/backends/backend_tkagg.py",
line 192, in draw
tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)
File "/Library/Python/2.5/site-packages/matplotlib/backends/tkagg.py",
line 15, in blit
tk.call("PyAggImagePhoto", photoimage, id(aggimage), colormode, id(bbox))
TclError
--
Christopher J. Fonnesbeck
+ Fish & Wildlife Research Institute (FWC)
+ 727.235.5570
|
|
From: <jgo...@gm...> - 2007-12-03 15:08:50
|
Hi, I have compiled v.0.90.1 on RHEL 5. By default, the GTKAgg backend is being used (TkAgg cannot be set, as TkInter is not installed on the system, I think. It throws a "NO Module named Tkinter" error). At any rate, a test session is as follows: import pylab pylab.plot ( [1,2,3],[1,2,3],'-or') #Wait for a long time, up to 3-4 minutes pylab.show() # Display the graph. Quite fast <1sec This delay is very unusual, and does not happen on my laptop. Does anyone have any ideas? Thanks! Jose |
|
From: Rob H. <he...@ta...> - 2007-12-03 14:13:37
|
On Dec 3, 2007, at 2:53 PM, Michael Droettboom wrote: > Personally, I like to set the math fonts explicitly, rather than > using the font categories. This is what I set for using Arev Sans: > > mathtext.cal : Arev Sans:oblique > mathtext.it : Arev Sans:oblique > mathtext.rm : Arev Sans > mathtext.bf : Arev Sans:bold > mathtext.sf : Arev Sans Ah, yes. This makes sense now. I used to have my fonts set up this way, but then changed them based on one of the newer matplotlibrc.default files. Now I changed it back, and things work fine. -Rob ---- Rob Hetland, Associate Professor Dept. of Oceanography, Texas A&M University http://pong.tamu.edu/~rob phone: 979-458-0096, fax: 979-845-6331 |
|
From: Rich S. <rsh...@ap...> - 2007-12-03 14:06:56
|
On Mon, 3 Dec 2007, Michael Droettboom wrote: > That may be beyond matplotlib's control. Matplotlib "requests" a solid > grey color, but the printing stack (Acrobat, the printer driver or the > printer itself) could be interpreting that in many ways. You could > experiment with various printer settings. > > Sorry to not have a more helpful answer. Perhaps others on this list > have suggestions. Don't know if this is pertinent to this thread, but I see differences when viewing LaTeX documents such as an OMR (Optical Mark Reader) form I designed when viewed as PostScript and as PDF. The former displays the graphics better than does the latter while the latter better displays the text. In my case, the printed version combines the highest quality of the two. Rich -- Richard B. Shepard, Ph.D. | Integrity Credibility Applied Ecosystem Services, Inc. | Innovation <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863 |
|
From: Lionel R. <lro...@li...> - 2007-12-03 14:03:36
|
Hi all,
there's a little problem with ghostscript on ubuntu gutsy, mpl complaints=20
about a bad version :
ipython -pylab
/usr/lib/python2.5/site-packages/matplotlib/__init__.py:641: UserWarning:=20
matplotlibrc ps.usedistiller option can not be used unless ghostscript-7.07=
=20
or later is installed on your system
but gs -v returns:
GPL Ghostscript SVN PRE-RELEASE 8.61 (2007-08-02)
Copyright (C) 2007 Artifex Software, Inc. All rights reserved.
Here is the modified __init__.py to deal with it :
################
def checkdep_ghostscript():
try:
if sys.platform =3D=3D 'win32':
command =3D 'gswin32c -v'
else:
command =3D 'gs --version'
stdin, stdout =3D os.popen4(command)
line =3D stdout.readlines()[0]
v =3D line.strip()
vtest =3D '.'.join(v.split('.')[:2]) # deal with version numbers=20
like '7.07.1'
float(vtest)
return vtest
################
matplotlib.__version__
Out [10]:'0.90.1'
=2D-=20
Lionel Roubeyrie - lro...@li...
Charg=C3=A9 d'=C3=A9tudes et de maintenance
LIMAIR - la Surveillance de l'Air en Limousin
http://www.limair.asso.fr
|
|
From: Michael D. <md...@st...> - 2007-12-03 13:54:00
|
I see what's going on here. Upper-case Greek letters are always upright (non-italic) in mathtext. TeX does this, and it is apparently a long standing American typographic convention. So, when it goes to print the "\Delta", it looks at "mathtext.rm", which in your case you have set to "serif", which causes it to look at the setting for "font.serif", in which the first font it finds is "Bitstream Vera Serif", which doesn't have Greek characters. Personally, I like to set the math fonts explicitly, rather than using the font categories. This is what I set for using Arev Sans: mathtext.cal : Arev Sans:oblique mathtext.it : Arev Sans:oblique mathtext.rm : Arev Sans mathtext.bf : Arev Sans:bold mathtext.sf : Arev Sans I may consider adding "arev" and "arevsans" values to "mathtext.fontset" that would do nothing more than set the "mathtext.*" values to reasonable defaults to avoid this confusion. (Which would of course require that the Arev fonts are available -- they aren't included with matplotlib). I still think it's useful and reasonable to provide access to full font customization, but it would be nice to support the common case in a more direct way. Hope that helps. Cheers, Mike Rob Hetland wrote: > > On Dec 3, 2007, at 2:26 PM, Michael Droettboom wrote: > >> Can you send your matplotlibrc settings and the mathtext expression >> you are using? One or the other of those is causing Vera Serif to be >> used for the \Delta character rather than Arev Sans. > > > I get this error anytime I try to get a delta. E.g.: > > text(0.5, 0.5, r'$\Delta$) > > (I think this is what you mean by mathtext expresssion?) Here is the > relevant part of the matplotlibrc file: > > > font.family : sans-serif > font.style : normal > font.variant : normal > font.weight : medium > font.stretch : normal > # note that font.size controls default text sizes. To configure > # special text sizes tick labels, axes, labels, title, etc, see the rc > # settings for axes and ticks. Special text sizes can be defined > # relative to font.size, using the following values: xx-small, x-small, > # small, medium, large, x-large, xx-large, larger, or smaller > font.size : 12.0 > font.serif : STIX, Bitstream Vera Serif, New Century > Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus > Roman No9 L, Times New Roman, Times, Palatino, Charter, serif > font.sans-serif : Arev Sans > #, Lucida Grande, Helvetica, Verdana, Geneva, Lucid, Avant Garde, > sans-serif > font.cursive : Zapfino, Apple Chancery, Textile, Sand, cursive > font.fantasy : Chicago, Comic Sans MS, Charcoal, Impact, Western, > fantasy > font.monospace : Bitstream Vera Sans Mono, Andale Mono, Nimbus Mono > L, Courier New, Courier, Fixed, Terminal, monospace > > text.color : black > text.usetex : False > text.dvipnghack : True > > ### MATHTEXT > mathtext.fallback_to_cm : False > mathtext.cal : sans:oblique > mathtext.it : sans:oblique > mathtext.rm : serif > mathtext.bf : sans:bold > mathtext.sf : sans > # mathtext.fontset : stixsans > mathtext.fontset : custom # for arev sans > > pdf.fonttype : 42 > > # pdf.use14corefonts : True > # ps.fonttype : 42 > # ps.useafm : True > > > > > ---- > Rob Hetland, Associate Professor > Dept. of Oceanography, Texas A&M University > http://pong.tamu.edu/~rob > phone: 979-458-0096, fax: 979-845-6331 > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: Jaonary R. <ja...@gm...> - 2007-12-03 13:50:58
|
Hi all,
I'm relatively new to matplotlib and what I'll ask to you seems to be simple
but I just can't figure out how to do this. I'd like to change the origin
of my coordinate system to the upper left of my axis when I plot my
figures. In matlab I use axis('ij') but in matplotlib I couldn't find
something similar. How will I do this ?
Thank you for your help,
Jaonary
|
|
From: Rob H. <he...@ta...> - 2007-12-03 13:39:59
|
On Dec 3, 2007, at 2:26 PM, Michael Droettboom wrote: > Can you send your matplotlibrc settings and the mathtext expression > you are using? One or the other of those is causing Vera Serif to > be used for the \Delta character rather than Arev Sans. I get this error anytime I try to get a delta. E.g.: text(0.5, 0.5, r'$\Delta$) (I think this is what you mean by mathtext expresssion?) Here is the relevant part of the matplotlibrc file: font.family : sans-serif font.style : normal font.variant : normal font.weight : medium font.stretch : normal # note that font.size controls default text sizes. To configure # special text sizes tick labels, axes, labels, title, etc, see the rc # settings for axes and ticks. Special text sizes can be defined # relative to font.size, using the following values: xx-small, x-small, # small, medium, large, x-large, xx-large, larger, or smaller font.size : 12.0 font.serif : STIX, Bitstream Vera Serif, New Century Schoolbook, Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No9 L, Times New Roman, Times, Palatino, Charter, serif font.sans-serif : Arev Sans #, Lucida Grande, Helvetica, Verdana, Geneva, Lucid, Avant Garde, sans-serif font.cursive : Zapfino, Apple Chancery, Textile, Sand, cursive font.fantasy : Chicago, Comic Sans MS, Charcoal, Impact, Western, fantasy font.monospace : Bitstream Vera Sans Mono, Andale Mono, Nimbus Mono L, Courier New, Courier, Fixed, Terminal, monospace text.color : black text.usetex : False text.dvipnghack : True ### MATHTEXT mathtext.fallback_to_cm : False mathtext.cal : sans:oblique mathtext.it : sans:oblique mathtext.rm : serif mathtext.bf : sans:bold mathtext.sf : sans # mathtext.fontset : stixsans mathtext.fontset : custom # for arev sans pdf.fonttype : 42 # pdf.use14corefonts : True # ps.fonttype : 42 # ps.useafm : True ---- Rob Hetland, Associate Professor Dept. of Oceanography, Texas A&M University http://pong.tamu.edu/~rob phone: 979-458-0096, fax: 979-845-6331 |
|
From: Michael D. <md...@st...> - 2007-12-03 13:26:21
|
The line I'm referring to is this --->
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mathtext.py:808:
MathTextWarning: Font 'BitstreamVeraSerif-Roman' does not have a glyph
for '\Delta'
MathTextWarning)
Can you send your matplotlibrc settings and the mathtext expression you
are using? One or the other of those is causing Vera Serif to be used
for the \Delta character rather than Arev Sans.
Cheers,
Mike
Rob Hetland wrote:
>
> On Dec 3, 2007, at 2:02 PM, Michael Droettboom wrote:
>
>> Can you send your matplotlibrc file? (Particularly the mathtext.*
>> options...) Also, can you set "verbose.level" to "debug-annoying" and
>> send us the output?
>
> It seems to me that Arev is being used from the debug information. See
> the log below.
>
> -Rob
>
>
>
> matplotlib data path
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data
>
> loaded rc file /Users/rob/.matplotlib/matplotlibrc
> matplotlib version 0.91.0
> verbose.level debug-annoying
> interactive is True
> units is False
> platform is darwin
> loaded modules: ['IPython.Prompts', 'IPython.pickleshare', 'heapq',
> 'xml.sax.urlparse', '_sha512', 'IPython.iplib', 'IPython.signal',
> 'random', '_bisect', 'ctypes.os', 'IPython.wildcard', 'gettext',
> 'IPython.bdb', 'distutils.sysconfig', 'ctypes._endian',
> 'encodings.encodings', 'IPython.fnmatch', 'IPython.time', '_lsprof',
> 'xml', 'struct', 'tempfile', 'pprint', 'IPython.doctest',
> 'IPython.copy_reg', 'imp', 'IPython.OInspect', 'IPython.warnings',
> 'collections', 'IPython.pydoc', 'cProfile', 'IPython.cStringIO',
> 'IPython.Shell', 'IPython.rlineimpl', 'zipimport', 'string',
> 'xml.sax.types', 'matplotlib.dateutil', 'encodings.utf_8',
> 'matplotlib.__future__', 'IPython.thread', 'datetime', 'IPython.Itpl',
> 'IPython.Debugger', 'new', 'distutils.re', 'IPython.excolors',
> 'IPython.Queue', 'IPython.os', 'resource', 'bisect', 'IPython.glob',
> 'signal', 'cmd', 'pydoc', 'threading', 'token', 'IPython.ctypes',
> 'shlex', 'IPython.shlex', 'xml.sax.xmlreader', 'matplotlib.pytz',
> 'IPython.exceptions', 'IPython.new', 'dis', 'cStringIO', 'pkgutil',
> 'IPython.external.simplegeneric', 'IPython.platutils_posix',
> 'IPython.path', 'IPython.types', 'IPython', 'IPython.external',
> 'IPython.commands', 'matplotlib.matplotlib', 'encodings',
> 'IPython.threading', 'bdb', 'IPython.ConfigLoader',
> 'matplotlib.warnings', 'matplotlib.string', 'urllib', 'IPython.pdb',
> 're', 'posix', 'IPython.shadowns', 'math', 'fcntl', 'pytz.tzinfo',
> 'dateutil', 'optparse', 'UserDict', 'inspect', 'IPython.hooks',
> 'distutils.os', '_ctypes', 'Queue', 'fnmatch', 'ctypes',
> 'IPython.generics', 'ctypes.struct', 'codecs', 'matplotlib.sys', 'path',
> 'pickleshare', 'pytz.bisect', 'md5', 'IPython.ColorANSI', 'commands',
> 'matplotlib.sre_constants', 'socket', 'thread', 'StringIO',
> 'IPython.StringIO', 'traceback', 'IPython.pstats', 'weakref',
> 'itertools', 'opcode', 'doctest', 'IPython.history', 'pstats',
> 'IPython.tokenize', 'distutils.sys', 'os', 'pdb', 'IPython.traceback',
> '__future__', 'matplotlib.copy', 'distutils.distutils', '_sre',
> 'unittest', 'IPython.ipmaker', '__builtin__', 'matplotlib.re',
> 'operator', 'distutils.string', 'ctypes._ctypes', '_heapq',
> 'ctypes.sys', 'matplotlib.datetime', 'IPython.codeop', 'posixpath',
> 'errno', '_socket', 'binascii', 'IPython.sys', 'IPython.re',
> 'sre_constants', 'IPython.cProfile', '_sha256', 'IPython.PyColorize',
> 'matplotlib.md5', 'types', 'IPython.genutils', 'tokenize', 'gestalt',
> 'matplotlib.tempfile', 'textwrap', 'IPython.strdispatch', 'cPickle',
> 'pytz.sys', 'IPython.platutils', 'matplotlib.xml', 'IPython.macro',
> '_codecs', 'IPython.token', '_locale', 'IPython.keyword',
> 'IPython.IPython', 'IPython.string', 'pytz', 'matplotlib.pyparsing',
> 'IPython.__builtin__', 'copy', 'pwd', '_struct', '_types',
> 'IPython.socket', 'hashlib', 'IPython.resource', 'IPython.cmd',
> 'keyword', 'atexit', 'distutils', 'IPython.linecache',
> 'xml.sax.saxutils', 'IPython.optparse', 'IPython.__main__',
> 'encodings.aliases', 'matplotlib.fontconfig_pattern', 'exceptions',
> 'sre_parse', 'IPython.ultraTB', 'IPython.prefilter', 'IPython.tempfile',
> 'IPython.Release', 'IPython.OutputTrap', 'copy_reg', 'sre_compile',
> 'xml.sax', 'xml.sax.os', '_hashlib', '_random', 'site', 'IPython.sets',
> 'IPython.getopt', 'IPython.ipstruct', 'IPython.external.types',
> 'IPython.inspect', '__main__', 'locale', 'shutil', 'IPython.Magic',
> 'IPython.pprint', 'urlparse', 'xml.sax.urllib', 'matplotlib.os',
> 'strop', 'IPython.bisect', 'xml.sax.handler', 'IPython.textwrap',
> 'xml.sax.codecs', 'IPython.shutil', 'encodings.codecs',
> 'ctypes.gestalt', 'pytz.datetime', 'IPython.Logger',
> 'matplotlib.rcsetup', 'getopt', 'matplotlib.weakref', 'pytz.sets',
> 'xml.sax._exceptions', 'IPython.readline', 'stat', '_ssl', 'warnings',
> 'encodings.types', 'glob', 'sets', 'repr', 'sys', 'ctypes.ctypes',
> 'codeop', 'readline', 'os.path', 'IPython.background_jobs',
> 'IPython.DPyGetOpt', 'IPython.cPickle', 'xml.sax.sys', 'IPython.usage',
> 'matplotlib.distutils', '_weakref', 'difflib', 'distutils.errors',
> 'marshal', 'matplotlib', 'linecache', 'matplotlib.shutil', 'time',
> 'IPython.FakeModule', 'IPython.ipapi']
> numerix numpy 1.0.5.dev4407
> $HOME=/Users/rob
> CONFIGDIR=/Users/rob/.matplotlib
> Using fontManager instance from /Users/rob/.matplotlib/fontManager.cache
> backend WXAgg version 2.8.6.1
> Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.8.2.svn.r2848 -- An enhanced Interactive Python.
> ? -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help -> Python's own help system.
> object? -> Details about 'object'. ?object also works, ?? prints more.
>
> Welcome to pylab, a matplotlib-based Python environment.
> For more information, type 'help(pylab)'.
> >>> text(0.5, 0.6, u'$\Delta$')
> FigureCanvasAgg.draw
> RendererAgg.__init__
> RendererAgg.__init__ width=640.0, height=440.0
> RendererAgg.__init__ _RendererAgg done
> RendererAgg.__init__ done
> RendererAgg.buffer_rgba
> FigureCanvasAgg.draw
> RendererAgg.buffer_rgba
> FigureCanvasAgg.draw
> RendererAgg._get_agg_font
> findfont found Arev Sans, normal, normal 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg._get_agg_font
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> findfont found Arev Sans, oblique, normal 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/ArevIt.ttf
>
> findfont failed STIX
> findfont found Bitstream Vera Serif, normal, normal 500, normal,
> 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/VeraSe.ttf
>
> findfont found Bitstream Vera Sans Mono, normal, normal 500,
> normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/VeraMono.ttf
>
> findfont found Arev Sans, oblique, normal 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/ArevIt.ttf
>
> findfont found Arev Sans, normal, normal 700, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/ArevBd.ttf
>
> findfont cached Arev Sans, normal, normal, 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
>
> findfont found cmex10, normal, normal 500, normal, 12.0
> findfont returning
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/cmex10.ttf
>
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mathtext.py:808:
> MathTextWarning: Font 'BitstreamVeraSerif-Roman' does not have a glyph
> for '\Delta'
> MathTextWarning)
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mathtext.py:817:
> MathTextWarning: Substituting with a dummy symbol.
> warn("Substituting with a dummy symbol.", MathTextWarning)
> RendererAgg.draw_text
> RendererAgg.draw_mathtext
> RendererAgg.buffer_rgba
> <matplotlib.text.Text instance at 0x1b01f8f0>
> >>> FigureCanvasAgg.draw
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.points_to_pixels
> RendererAgg.points_to_pixels
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg._get_agg_font
> RendererAgg.draw_text
> RendererAgg.draw_mathtext
> RendererAgg.buffer_rgba
>
>
> ----
> Rob Hetland, Associate Professor
> Dept. of Oceanography, Texas A&M University
> http://pong.tamu.edu/~rob
> phone: 979-458-0096, fax: 979-845-6331
>
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
|
|
From: Rob H. <he...@ta...> - 2007-12-03 13:12:07
|
On Dec 3, 2007, at 2:02 PM, Michael Droettboom wrote:
> Can you send your matplotlibrc file? (Particularly the mathtext.*
> options...) Also, can you set "verbose.level" to "debug-annoying"
> and send us the output?
It seems to me that Arev is being used from the debug information.
See the log below.
-Rob
matplotlib data path /Library/Frameworks/Python.framework/Versions/
2.5/lib/python2.5/site-packages/matplotlib/mpl-data
loaded rc file /Users/rob/.matplotlib/matplotlibrc
matplotlib version 0.91.0
verbose.level debug-annoying
interactive is True
units is False
platform is darwin
loaded modules: ['IPython.Prompts', 'IPython.pickleshare', 'heapq',
'xml.sax.urlparse', '_sha512', 'IPython.iplib', 'IPython.signal',
'random', '_bisect', 'ctypes.os', 'IPython.wildcard', 'gettext',
'IPython.bdb', 'distutils.sysconfig', 'ctypes._endian',
'encodings.encodings', 'IPython.fnmatch', 'IPython.time', '_lsprof',
'xml', 'struct', 'tempfile', 'pprint', 'IPython.doctest',
'IPython.copy_reg', 'imp', 'IPython.OInspect', 'IPython.warnings',
'collections', 'IPython.pydoc', 'cProfile', 'IPython.cStringIO',
'IPython.Shell', 'IPython.rlineimpl', 'zipimport', 'string',
'xml.sax.types', 'matplotlib.dateutil', 'encodings.utf_8',
'matplotlib.__future__', 'IPython.thread', 'datetime',
'IPython.Itpl', 'IPython.Debugger', 'new', 'distutils.re',
'IPython.excolors', 'IPython.Queue', 'IPython.os', 'resource',
'bisect', 'IPython.glob', 'signal', 'cmd', 'pydoc', 'threading',
'token', 'IPython.ctypes', 'shlex', 'IPython.shlex',
'xml.sax.xmlreader', 'matplotlib.pytz', 'IPython.exceptions',
'IPython.new', 'dis', 'cStringIO', 'pkgutil',
'IPython.external.simplegeneric', 'IPython.platutils_posix',
'IPython.path', 'IPython.types', 'IPython', 'IPython.external',
'IPython.commands', 'matplotlib.matplotlib', 'encodings',
'IPython.threading', 'bdb', 'IPython.ConfigLoader',
'matplotlib.warnings', 'matplotlib.string', 'urllib', 'IPython.pdb',
're', 'posix', 'IPython.shadowns', 'math', 'fcntl', 'pytz.tzinfo',
'dateutil', 'optparse', 'UserDict', 'inspect', 'IPython.hooks',
'distutils.os', '_ctypes', 'Queue', 'fnmatch', 'ctypes',
'IPython.generics', 'ctypes.struct', 'codecs', 'matplotlib.sys',
'path', 'pickleshare', 'pytz.bisect', 'md5', 'IPython.ColorANSI',
'commands', 'matplotlib.sre_constants', 'socket', 'thread',
'StringIO', 'IPython.StringIO', 'traceback', 'IPython.pstats',
'weakref', 'itertools', 'opcode', 'doctest', 'IPython.history',
'pstats', 'IPython.tokenize', 'distutils.sys', 'os', 'pdb',
'IPython.traceback', '__future__', 'matplotlib.copy',
'distutils.distutils', '_sre', 'unittest', 'IPython.ipmaker',
'__builtin__', 'matplotlib.re', 'operator', 'distutils.string',
'ctypes._ctypes', '_heapq', 'ctypes.sys', 'matplotlib.datetime',
'IPython.codeop', 'posixpath', 'errno', '_socket', 'binascii',
'IPython.sys', 'IPython.re', 'sre_constants', 'IPython.cProfile',
'_sha256', 'IPython.PyColorize', 'matplotlib.md5', 'types',
'IPython.genutils', 'tokenize', 'gestalt', 'matplotlib.tempfile',
'textwrap', 'IPython.strdispatch', 'cPickle', 'pytz.sys',
'IPython.platutils', 'matplotlib.xml', 'IPython.macro', '_codecs',
'IPython.token', '_locale', 'IPython.keyword', 'IPython.IPython',
'IPython.string', 'pytz', 'matplotlib.pyparsing',
'IPython.__builtin__', 'copy', 'pwd', '_struct', '_types',
'IPython.socket', 'hashlib', 'IPython.resource', 'IPython.cmd',
'keyword', 'atexit', 'distutils', 'IPython.linecache',
'xml.sax.saxutils', 'IPython.optparse', 'IPython.__main__',
'encodings.aliases', 'matplotlib.fontconfig_pattern', 'exceptions',
'sre_parse', 'IPython.ultraTB', 'IPython.prefilter',
'IPython.tempfile', 'IPython.Release', 'IPython.OutputTrap',
'copy_reg', 'sre_compile', 'xml.sax', 'xml.sax.os', '_hashlib',
'_random', 'site', 'IPython.sets', 'IPython.getopt',
'IPython.ipstruct', 'IPython.external.types', 'IPython.inspect',
'__main__', 'locale', 'shutil', 'IPython.Magic', 'IPython.pprint',
'urlparse', 'xml.sax.urllib', 'matplotlib.os', 'strop',
'IPython.bisect', 'xml.sax.handler', 'IPython.textwrap',
'xml.sax.codecs', 'IPython.shutil', 'encodings.codecs',
'ctypes.gestalt', 'pytz.datetime', 'IPython.Logger',
'matplotlib.rcsetup', 'getopt', 'matplotlib.weakref', 'pytz.sets',
'xml.sax._exceptions', 'IPython.readline', 'stat', '_ssl',
'warnings', 'encodings.types', 'glob', 'sets', 'repr', 'sys',
'ctypes.ctypes', 'codeop', 'readline', 'os.path',
'IPython.background_jobs', 'IPython.DPyGetOpt', 'IPython.cPickle',
'xml.sax.sys', 'IPython.usage', 'matplotlib.distutils', '_weakref',
'difflib', 'distutils.errors', 'marshal', 'matplotlib', 'linecache',
'matplotlib.shutil', 'time', 'IPython.FakeModule', 'IPython.ipapi']
numerix numpy 1.0.5.dev4407
$HOME=/Users/rob
CONFIGDIR=/Users/rob/.matplotlib
Using fontManager instance from /Users/rob/.matplotlib/fontManager.cache
backend WXAgg version 2.8.6.1
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
Type "copyright", "credits" or "license" for more information.
IPython 0.8.2.svn.r2848 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
Welcome to pylab, a matplotlib-based Python environment.
For more information, type 'help(pylab)'.
>>> text(0.5, 0.6, u'$\Delta$')
FigureCanvasAgg.draw
RendererAgg.__init__
RendererAgg.__init__ width=640.0, height=440.0
RendererAgg.__init__ _RendererAgg done
RendererAgg.__init__ done
RendererAgg.buffer_rgba
FigureCanvasAgg.draw
RendererAgg.buffer_rgba
FigureCanvasAgg.draw
RendererAgg._get_agg_font
findfont found Arev Sans, normal, normal 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg._get_agg_font
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
findfont found Arev Sans, oblique, normal 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/ArevIt.ttf
findfont failed STIX
findfont found Bitstream Vera Serif, normal, normal 500,
normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/VeraSe.ttf
findfont found Bitstream Vera Sans Mono, normal, normal 500,
normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/VeraMono.ttf
findfont found Arev Sans, oblique, normal 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/ArevIt.ttf
findfont found Arev Sans, normal, normal 700, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/ArevBd.ttf
findfont cached Arev Sans, normal, normal, 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/Arev.ttf
findfont found cmex10, normal, normal 500, normal, 12.0
findfont returning /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/matplotlib/mpl-data/fonts/ttf/cmex10.ttf
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/matplotlib/mathtext.py:808: MathTextWarning: Font
'BitstreamVeraSerif-Roman' does not have a glyph for '\Delta'
MathTextWarning)
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/matplotlib/mathtext.py:817: MathTextWarning: Substituting
with a dummy symbol.
warn("Substituting with a dummy symbol.", MathTextWarning)
RendererAgg.draw_text
RendererAgg.draw_mathtext
RendererAgg.buffer_rgba
<matplotlib.text.Text instance at 0x1b01f8f0>
>>> FigureCanvasAgg.draw
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.points_to_pixels
RendererAgg.points_to_pixels
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg._get_agg_font
RendererAgg.draw_text
RendererAgg.draw_mathtext
RendererAgg.buffer_rgba
----
Rob Hetland, Associate Professor
Dept. of Oceanography, Texas A&M University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331
|
|
From: Michael D. <md...@st...> - 2007-12-03 13:05:42
|
Peter I. Hansen wrote: > On Nov 30, 2007 11:14 PM, Michael Droettboom <md...@st...> wrote: >> Thanks for the script. I ran it through 0.90 and 0.91... Perhaps I >> don't understand your problem with color. To my eyes, the plot >> generated with Agg (to a PNG) and to a PDF look the same, in terms of >> the color of the axvspans. >> >> So, either your mpl installation is generating a different PDF than mine >> (certainly possible), or I'm just not seeing the difference that is >> bothering you (also possible). It could be that you are using a >> different PDF viewer (I'm using Adobe Acrobat Reader 7.0 on Linux...) >> >> I've attached the PDF I get from 0.90 on my machine. Does it look the >> same as yours? [This attachment was too large for the list and bounced... I'm bringing the conversation back to the list.] > Your output looks similar to mine. The thing that bothers me (and I > see that maybe I wasn't clear enough on that to begin with) is the > grainy way the colors look when printed. That may be beyond matplotlib's control. Matplotlib "requests" a solid grey color, but the printing stack (Acrobat, the printer driver or the printer itself) could be interpreting that in many ways. You could experiment with various printer settings. Sorry to not have a more helpful answer. Perhaps others on this list have suggestions. Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: Michael D. <md...@st...> - 2007-12-03 13:03:29
|
The log shows that for some reason it is pulling in
BitstreamVeraSerif-Roman instead of Arev Sans for that character. It
could be that it isn't finding the Arev fonts on your system.
Can you send your matplotlibrc file? (Particularly the mathtext.*
options...) Also, can you set "verbose.level" to "debug-annoying" and
send us the output?
Cheers,
Mike
Rob Hetland wrote:
>
> I was working on a figure, using mathtext and the Arev Sans fontset, and
> I noticed that \Delta does not display correctly. In fact, none of the
> capitol greek letters show up. It claims they are missing (and I do not
> default back to CM). However, I _know_ Arev Sans has \Delta (and the
> others).
>
> Little \delta and all the other little greek letters are there:
>
> >>> text(0.5, 0.5, r'$\Delta$')
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mathtext.py:808:
> MathTextWarning: Font 'BitstreamVeraSerif-Roman' does not have a glyph
> for '\Delta'
> MathTextWarning)
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mathtext.py:817:
> MathTextWarning: Substituting with a dummy symbol.
> warn("Substituting with a dummy symbol.", MathTextWarning)
> <matplotlib.text.Text instance at 0x476f8f30>
> >>> text(0.5, 0.5, r'$\alpha \beta \gamma \delta \nu \eta \zeta \pi \xi$')
> <matplotlib.text.Text instance at 0x478a6e18>
>
>
> Am I doing something wrong?
>
> -Rob
>
>
> ----
> Rob Hetland, Associate Professor
> Dept. of Oceanography, Texas A&M University
> http://pong.tamu.edu/~rob
> phone: 979-458-0096, fax: 979-845-6331
>
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
|
|
From: Rob H. <he...@ta...> - 2007-12-03 12:51:38
|
I was working on a figure, using mathtext and the Arev Sans fontset,
and I noticed that \Delta does not display correctly. In fact, none
of the capitol greek letters show up. It claims they are missing
(and I do not default back to CM). However, I _know_ Arev Sans has
\Delta (and the others).
Little \delta and all the other little greek letters are there:
>>> text(0.5, 0.5, r'$\Delta$')
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/matplotlib/mathtext.py:808: MathTextWarning: Font
'BitstreamVeraSerif-Roman' does not have a glyph for '\Delta'
MathTextWarning)
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/matplotlib/mathtext.py:817: MathTextWarning: Substituting
with a dummy symbol.
warn("Substituting with a dummy symbol.", MathTextWarning)
<matplotlib.text.Text instance at 0x476f8f30>
>>> text(0.5, 0.5, r'$\alpha \beta \gamma \delta \nu \eta \zeta \pi
\xi$')
<matplotlib.text.Text instance at 0x478a6e18>
Am I doing something wrong?
-Rob
----
Rob Hetland, Associate Professor
Dept. of Oceanography, Texas A&M University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331
|