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
(8) |
2
(2) |
3
(11) |
4
(11) |
5
(3) |
6
(3) |
7
(8) |
8
(1) |
9
(10) |
10
(16) |
11
(1) |
12
(8) |
13
(21) |
14
(13) |
15
(15) |
16
(6) |
17
(12) |
18
(2) |
19
(6) |
20
(6) |
21
(5) |
22
(2) |
23
(9) |
24
|
25
|
26
(2) |
27
(3) |
28
(2) |
29
(10) |
30
(2) |
31
(4) |
|
From: Timothy W. H. <hi...@me...> - 2010-12-09 03:15:54
|
Hello, I'm trying to teach myself to create custom colormaps to highlight certain aspects of a dataset I am working with. The script below produces two plots -- the first shows a 4x4 array foo of random floats between 0.0 and 1.0, and the second shows the same array, but normalized such that [foo.min(), foo.max()] is mapped to [0.0, 1.0]. As I understand it, I am plotting two slightly different datasets using the same colormap, yet the two colorbars are different -- note the value at the transition from grayscale to red. I am not sure whether the colors are being assigned to slightly different data values in the two plots, or if the problem is in plotting the colorbar. I'd appreciate any help! Thanks, Tim -- Timothy W. Hilton PhD Candidate, Department of Meteorology The Pennsylvania State University 503 Walker Building, University Park, PA 16802 hi...@me... ========= import numpy as np import numpy.ma as ma import matplotlib.pyplot as plt import matplotlib as mpl mycmdata1 = {'red': ((0.0, 0.0, 0.0), (0.5, 1.0, 0.7), (1.0, 1.0, 1.0)), 'green': ((0.0, 0.0, 0.0), (0.5, 1.0, 0.0), (1.0, 1.0, 1.0)), 'blue': ((0.0, 0.0, 0.0), (0.5, 1.0, 0.0), (1.0, 0.5, 1.0))} mycm1 = mpl.colors.LinearSegmentedColormap('mycm1', mycmdata1) N = 4 np.random.seed(0) foo = np.random.rand(N, N) plt.figure() plt.pcolor(foo, cmap=mycm1) plt.colorbar() plt.figure() norm = mpl.colors.Normalize() plt.pcolor(norm(foo), cmap=mycm1) plt.colorbar() |
From: Timothy W. H. <hi...@me...> - 2010-12-09 00:11:45
|
Hi Friedrich, Many thanks for your detailed response. I've had to turn my attention to other things in the past few weeks, but I am back to this task now. I've implemented the Norm that you suggested by subclassing Normalize; that was a great suggestion. Now I have a two dimensional array where water has value -1.5, missing data have -0.5, and valid data over land have values in [0, 1]. After poking around in cm.py, _cm.py, and colors.py, I understand better how to define a colormap, but I am not sure how to map negative values like -0.5 or -1.5 to a color -- I believe the x values in the color dictionary must be positive? I can imagine various schemes to sidestep this by assigning water and missing values positive discrete values (say, 0.1 and 0.2 or something) and then putting valid data in the remaining portion of [0,1] -- maybe [0.3, 1] or something. But there's an elegance to valid data going into [0, 1] and other invalid data getting values outside of that range... I think I'd lose a little readability in giving that up. Anyway, thanks a whole lot for your helpful suggestions. Best, Tim On Sat, Nov 2010, 06 at 10:52:48PM +0100, Friedrich Romstedt wrote: > 2010/11/1 Timothy W. Hilton <hi...@me...>: > > [...] > > > > I want to have blue water, some other (bright) color for missing data, > > and a nice-looking color transition (matplotlib.cm.Blues or something > > similar) for the valid data over land (values from 0 to 50). The > > Cookbook example at > > <http://www.scipy.org/Cookbook/Matplotlib/Plotting_Images_with_Special_Values> > > addresses my problem, but I cannot get it to work. After changing > > instances of matplotlib.numerix to numpy, I get a long list of > > exceptions, the last of which is > > TypeError: __call__() got an unexpected keyword argument 'bytes'. > > This has to do with sentinelNorm, I think, but I'm not sure how to fix it. > > I think I would tackle this by writing a Norm that doesn't change > negative values, and you might mask then the oceans by -0.5, and the > nans by -1.5. Then, you might create a colormap comprised of the > ocean color for [-1, 0] and the nan color for [-2, -1], and for the > normal normed range [0, 1] the normal Blues cm. Have a look at cm.py > and _cm.py how it works. Basically, you can specify for all sections > of the colormap the left and right color. So you can mix discrete > maps with continuous ones, because the continuous ones are just > linearly interpolated with matching colors for left/right at each > boundary position. Looking at the code will clarify things a lot I > believe. > > I don't know what went wrong with the cb example you said. From a > quick look, it seems to have "sentinel rgb values", but this is not > what we want, right? > > > Eventually I would like to sub-classify missing data by the type of > > missing input that caused a missing value, but for now a single > > missing data color is enough. > > That would be possible with the approach above, by just adding > sections below zero. > > _cm.py: Definitions of colormaps, like Blues. > cm.py: among other things, how to load such specifications. > colors.py: Defines Colormaps, and Norms. Have a look at both of them, > esp. at :class:`Normalize`. I would subclass the Norm mentioned above > from Normalize. > > I hope this helps you, > Friedrich > |
From: Werner F. B. <wer...@fr...> - 2010-12-08 13:28:15
|
Using mpl 0.99.1 and sometimes get the following exception. Traceback (most recent call last): File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 14640, in <lambda> lambda event: event.callable(*event.args, **event.kw) ) File "C:\dev\TwcbBranchesV32\Program\panelstats.py", line 385, in RefreshAllGraphs self.RefreshCountryValue(self.countryValueP, self.countryValue) File "C:\dev\TwcbBranchesV32\Program\panelstats.py", line 417, in RefreshCountryValue self.DoStatsParetoAlt(sql, panel, axes, _('Value - in home currency'), _('Purchase value in % of cumulated purchase value'), avg=True) File "C:\dev\TwcbBranchesV32\Program\panelstats.py", line 992, in DoStatsParetoAlt panel.canvas.draw() File "C:\Python26\lib\site-packages\matplotlib\backends\backend_wxagg.py", line 61, in draw self.bitmap = _convert_agg_to_wx_bitmap(self.get_renderer(), None) File "C:\Python26\lib\site-packages\matplotlib\backends\backend_wxagg.py", line 229, in _py_WX28_convert_agg_to_wx_bitmap agg.buffer_rgba(0, 0)) File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 908, in BitmapFromBufferRGBA return _gdi_._BitmapFromBufferRGBA(width, height, dataBuffer) RuntimeError: Failed to gain raw access to bitmap data. I thought/guessed it had to do with not having resized the canvas correctly, but I am not sure and the following code is run whenever I resize the parent of the canvas. def _SetSize( self ): pixels = tuple( self.parent.GetClientSize() ) self.SetSize( pixels ) self.canvas.SetSize( pixels ) self.figure.set_size_inches( float( pixels[0] )/self.figure.get_dpi(), float( pixels[1] )/self.figure.get_dpi() ) What could the cause of this error be? Werner |
From: Christopher B. <Chr...@no...> - 2010-12-07 21:00:41
|
Note: try not to reply to the digest -- it makes it harder to follow the thread. On 12/6/10 4:55 PM, Kaushik Ghose wrote: > Yep, sorry for bothering you guys. I installed NumPy 1.5.1 and everything is > fine. I'm looking forward to using the 3D plotting capabilities. Once again, > thanks to the whole team for moving forward on this. (perhaps, inorder to make > it proof against fools like me, perhaps a dependency check during the import, > requiring a minimum version of numpy would be possible ... ?) Yes, that would be a good idea. The trick is that MPL is probably compatible with older versions of numpy at the source level, but this binary was built against a particular version of numpy. So the binary builder would need to specify the required numpy version somehow. Also, numpy tries to be binary compatible across some versions, to there would be more than one that a given MPL build could work with. It would be nice if the numpy version required could be made clear in the download -- but that's a long file name already! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
From: Friedrich R. <fri...@gm...> - 2010-12-07 09:44:42
|
2010/12/7 Kaushik Ghose <Kau...@hm...>: > I did a search on the mailing list but could not come up with a solution, so I > am crying "Uncle" and writing. :-) > I installed matplotlib 1.0.0 from the package on SF > (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg/download) > > I assumed that 10.4 would work on my 10.5 - perhaps that is where I went wrong? Normally it should work, the 10.4 is the least recent version where it is supposed to work. > I installed it and got, satisfactorily: > > import matplotlib > matplotlib.__version__ > ---> '1.0.0' > > But when I do > > import pylab > > I get a bus error that throws me out of ipython. Two suggestions (just covering incompletely that I have no real idea atm): 1) Try to import it from CPython (meaning $python -c "import pylab" or $python CR >>> import pylab). Might be that ipython is the culprit. 2) Try >>> import matplotlib.pylab instead. When your pylab module may come from somewhere else than the mpl module you're importing. You didn't have matplotlib installed before, or have made some other notable changes to your system? What Python distro do you use? Friedrich |
From: Kaushik G. <Kau...@hm...> - 2010-12-07 00:55:56
|
Yep, sorry for bothering you guys. I installed NumPy 1.5.1 and everything is fine. I'm looking forward to using the 3D plotting capabilities. Once again, thanks to the whole team for moving forward on this. (perhaps, inorder to make it proof against fools like me, perhaps a dependency check during the import, requiring a minimum version of numpy would be possible ... ?) Best -Kaushik On 12/6/10 7:45 PM, Kaushik Ghose wrote: > Wait, wait I see a related topic from a guy running windows. I haven't upgraded > my Numpy (which is at 1.3.0) Let me see if that changes anything.... > > On 12/6/10 7:39 PM, mat...@li... wrote: > >> >> Message: 1 >> Date: Mon, 6 Dec 2010 19:39:47 -0500 >> From: Kaushik Ghose<Kau...@hm...> >> Subject: [Matplotlib-users] Bus error on import - Mac OS X (10.5.8) >> Matplotlib 1.0.0 >> To: "mat...@li..." >> <mat...@li...> >> Message-ID:<4CF...@hm...> >> Content-Type: text/plain; charset="UTF-8"; format=flowed >> >> Hi Guys, >> >> I did a search on the mailing list but could not come up with a solution, so I >> am crying "Uncle" and writing. >> >> I installed matplotlib 1.0.0 from the package on SF >> (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg/download) >> >> I assumed that 10.4 would work on my 10.5 - perhaps that is where I went wrong? >> >> I installed it and got, satisfactorily: >> >> import matplotlib >> matplotlib.__version__ >> ---> '1.0.0' >> >> But when I do >> >> import pylab >> >> I get a bus error that throws me out of ipython. >> >> The trace is given below >> >> If anyone can direct me towards the right direction, I would be vary happy! >> >> Thanks >> -Kaushik >> |
From: Kaushik G. <Kau...@hm...> - 2010-12-07 00:45:15
|
Wait, wait I see a related topic from a guy running windows. I haven't upgraded my Numpy (which is at 1.3.0) Let me see if that changes anything.... On 12/6/10 7:39 PM, mat...@li... wrote: > > Message: 1 > Date: Mon, 6 Dec 2010 19:39:47 -0500 > From: Kaushik Ghose<Kau...@hm...> > Subject: [Matplotlib-users] Bus error on import - Mac OS X (10.5.8) > Matplotlib 1.0.0 > To: "mat...@li..." > <mat...@li...> > Message-ID:<4CF...@hm...> > Content-Type: text/plain; charset="UTF-8"; format=flowed > > Hi Guys, > > I did a search on the mailing list but could not come up with a solution, so I > am crying "Uncle" and writing. > > I installed matplotlib 1.0.0 from the package on SF > (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg/download) > > I assumed that 10.4 would work on my 10.5 - perhaps that is where I went wrong? > > I installed it and got, satisfactorily: > > import matplotlib > matplotlib.__version__ > ---> '1.0.0' > > But when I do > > import pylab > > I get a bus error that throws me out of ipython. > > The trace is given below > > If anyone can direct me towards the right direction, I would be vary happy! > > Thanks > -Kaushik > |
From: Kaushik G. <Kau...@hm...> - 2010-12-07 00:39:57
|
Hi Guys, I did a search on the mailing list but could not come up with a solution, so I am crying "Uncle" and writing. I installed matplotlib 1.0.0 from the package on SF (http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg/download) I assumed that 10.4 would work on my 10.5 - perhaps that is where I went wrong? I installed it and got, satisfactorily: import matplotlib matplotlib.__version__ ---> '1.0.0' But when I do import pylab I get a bus error that throws me out of ipython. The trace is given below If anyone can direct me towards the right direction, I would be vary happy! Thanks -Kaushik Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Thread 0 Crashed: 0 ??? 0000000000 0 + 0 1 org.python.python 0x002b32f7 _PyImport_LoadDynamicModule + 167 2 org.python.python 0x002b0c83 load_module + 227 3 org.python.python 0x002b11ad import_submodule + 301 4 org.python.python 0x002b1409 load_next + 201 5 org.python.python 0x002b1e03 PyImport_ImportModuleLevel + 419 6 org.python.python 0x0028ab5f builtin___import__ + 159 7 org.python.python 0x001e4d35 PyObject_Call + 85 8 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 9 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 10 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 11 org.python.python 0x002983f7 PyEval_EvalCode + 87 12 org.python.python 0x002af8ec PyImport_ExecCodeModuleEx + 188 13 org.python.python 0x002b058c load_source_module + 540 14 org.python.python 0x002b11ad import_submodule + 301 15 org.python.python 0x002b1409 load_next + 201 16 org.python.python 0x002b1db1 PyImport_ImportModuleLevel + 337 17 org.python.python 0x0028ab5f builtin___import__ + 159 18 org.python.python 0x001e4d35 PyObject_Call + 85 19 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 20 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 21 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 22 org.python.python 0x002983f7 PyEval_EvalCode + 87 23 org.python.python 0x002af8ec PyImport_ExecCodeModuleEx + 188 24 org.python.python 0x002b058c load_source_module + 540 25 org.python.python 0x002b11ad import_submodule + 301 26 org.python.python 0x002b1757 ensure_fromlist + 439 27 org.python.python 0x002b21ed PyImport_ImportModuleLevel + 1421 28 org.python.python 0x0028ab5f builtin___import__ + 159 29 org.python.python 0x001e4d35 PyObject_Call + 85 30 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 31 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 32 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 33 org.python.python 0x002983f7 PyEval_EvalCode + 87 34 org.python.python 0x002af8ec PyImport_ExecCodeModuleEx + 188 35 org.python.python 0x002b058c load_source_module + 540 36 org.python.python 0x002b11ad import_submodule + 301 37 org.python.python 0x002b1757 ensure_fromlist + 439 38 org.python.python 0x002b21ed PyImport_ImportModuleLevel + 1421 39 org.python.python 0x0028ab5f builtin___import__ + 159 40 org.python.python 0x001e4d35 PyObject_Call + 85 41 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 42 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 43 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 44 org.python.python 0x002983f7 PyEval_EvalCode + 87 45 org.python.python 0x002af8ec PyImport_ExecCodeModuleEx + 188 46 org.python.python 0x002b058c load_source_module + 540 47 org.python.python 0x002b11ad import_submodule + 301 48 org.python.python 0x002b1409 load_next + 201 49 org.python.python 0x002b1e03 PyImport_ImportModuleLevel + 419 50 org.python.python 0x0028ab5f builtin___import__ + 159 51 org.python.python 0x001e4d35 PyObject_Call + 85 52 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 53 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 54 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 55 org.python.python 0x002983f7 PyEval_EvalCode + 87 56 org.python.python 0x002af8ec PyImport_ExecCodeModuleEx + 188 57 org.python.python 0x002b058c load_source_module + 540 58 org.python.python 0x002b11ad import_submodule + 301 59 org.python.python 0x002b1409 load_next + 201 60 org.python.python 0x002b1db1 PyImport_ImportModuleLevel + 337 61 org.python.python 0x0028ab5f builtin___import__ + 159 62 org.python.python 0x001e4d35 PyObject_Call + 85 63 org.python.python 0x002905be PyEval_CallObjectWithKeywords + 78 64 org.python.python 0x00293b50 PyEval_EvalFrameEx + 9680 65 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 66 org.python.python 0x00296a25 PyEval_EvalFrameEx + 21669 67 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 68 org.python.python 0x0029634c PyEval_EvalFrameEx + 19916 69 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 70 org.python.python 0x0029634c PyEval_EvalFrameEx + 19916 71 org.python.python 0x00296ae6 PyEval_EvalFrameEx + 21862 72 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 73 org.python.python 0x0029634c PyEval_EvalFrameEx + 19916 74 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 75 org.python.python 0x0029634c PyEval_EvalFrameEx + 19916 76 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 77 org.python.python 0x0029634c PyEval_EvalFrameEx + 19916 78 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 79 org.python.python 0x0029634c PyEval_EvalFrameEx + 19916 80 org.python.python 0x002982dd PyEval_EvalCodeEx + 2109 81 org.python.python 0x002983f7 PyEval_EvalCode + 87 82 org.python.python 0x002bcf08 PyRun_FileExFlags + 168 83 org.python.python 0x002bddf3 PyRun_SimpleFileExFlags + 867 84 org.python.python 0x002cf902 Py_Main + 3122 85 org.python.python 0x00001f82 0x1000 + 3970 86 org.python.python 0x00001ea9 0x1000 + 3753 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x01570020 ebx: 0x0185798b ecx: 0x009fde00 edx: 0x01570020 edi: 0x013e7930 esi: 0x013ce368 ebp: 0xbfff76a8 esp: 0xbfff766c ss: 0x0000001f efl: 0x00010246 eip: 0x00000000 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x00000000 Binary Images: 0x1000 - 0x1ff5 +org.python.python 2.6.4 (2.6.4) <4037e9925ff789f8c54777df78b19d35> /Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python 0x49000 - 0x4afff +time.so ??? (???) <ce38317a468df3f1d0210360ad0caf4a> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/time.so 0x96000 - 0x99fff +operator.so ??? (???) <06b2b012039bf13956a8aeb0e9b94056> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/operator.so 0xa0000 - 0xa3ff3 +_collections.so ??? (???) <78b59dc98c1cfd7f1ca1aaa38f6f70b3> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_collections.so 0xa9000 - 0xa9ff5 +_bisect.so ??? (???) <b0ba9213688ef91430a0e0e57fc01b4e> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_bisect.so 0x102000 - 0x113ffd +zlib.so ??? (???) <b37597fcc762c073dadf5938e907785a> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/zlib.so 0x118000 - 0x11bffc +strop.so ??? (???) <e2ad56a24c71dda9d714553270c062ee> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/strop.so 0x124000 - 0x124ffd +gestalt.so ??? (???) <d4a1beca4d441a0746d35ecc903503a2> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/gestalt.so 0x1db000 - 0x306fe3 +org.python.python 2.6.4, (c) 2004-2008 Python Software Foundation. (2.6.4) <74126ca0a4824edbb195ce276f49da9e> /Library/Frameworks/Python.framework/Versions/2.6/Python 0x540000 - 0x541fff +MacOS.so ??? (???) <52f1c9a5ffd13694e5b4985304ee8150> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/MacOS.so 0x5e2000 - 0x5e5ffa +_Res.so ??? (???) <a63f63148de366bffbc7053b0c317118> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_Res.so 0x5ec000 - 0x5f3ff7 +_File.so ??? (???) <767942a56991c70a6fd1eafc22c0251e> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_File.so 0x74c000 - 0x74dff9 +cStringIO.so ??? (???) <4c6a1df3fc4e3e99eb62d9f4b455d23c> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/cStringIO.so 0x752000 - 0x756ffe +itertools.so ??? (???) <597079611a7258d1cafac6a533f0fc87> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/itertools.so 0x75f000 - 0x760ff9 +_heapq.so ??? (???) <d6155e9914270da480acb3e898c66aed> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_heapq.so 0x7c6000 - 0x7c6ffc +_functools.so ??? (???) <f84f4fef3fb0c7d5db89e8419d70d30a> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_functools.so 0x7ca000 - 0x7ccfff +math.so ??? (???) <06e35d7b22469698b12bcc112597523b> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/math.so 0x7d2000 - 0x7d7fff +binascii.so ??? (???) <f0a84df3e036b7cac5cfb7ae66f412cf> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/binascii.so 0x7dc000 - 0x7ddfff +_random.so ??? (???) <d19d89fc872b6a7bf936886275f9d8ed> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_random.so 0x7e1000 - 0x7e2ff0 +fcntl.so ??? (???) <21b2b1ee58cfe74fb14530ef50fb8d64> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/fcntl.so 0x7e6000 - 0x7e8fff +select.so ??? (???) <06e5920f2f6ab301e6aaa22a9f9f2a9d> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/select.so 0x7ee000 - 0x7f1ff7 +_struct.so ??? (???) <1d6cfa30a56bc2f242adaf363c54b793> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_struct.so 0x7f8000 - 0x7f9ff6 +termios.so ??? (???) <1f9365c3628b1a61e5efe5ebebca9a69> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/termios.so 0x10c0000 - 0x10cbffb +_curses.so ??? (???) <f7644df396aba85bcf35c82eccf6d34b> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_curses.so 0x10d4000 - 0x1104fe7 +libncurses.5.dylib ??? (???) <4210ee1698d9b596306bef5ff70f40d0> /Library/Frameworks/Python.framework/Versions/2.6/lib/libncurses.5.dylib 0x111c000 - 0x111dff5 +_hashlib.so ??? (???) <5d7347eb1ab0a64d3d0b9c05b0ba12b3> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_hashlib.so 0x1122000 - 0x1125ffe +_sha256.so ??? (???) <9366adc098c80cb3c6e5fc08c9975d86> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_sha256.so 0x1129000 - 0x1136ff1 +_sha512.so ??? (???) <63cf6a9e230e5eb14d1b3bbe856f9155> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_sha512.so 0x113a000 - 0x1160ff1 +readline.so ??? (???) <0ac86788538945ec51071f3573911da3> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/readline.so 0x11b3000 - 0x11b3fff +resource.so ??? (???) <4921547aab4d2bd6593d11df86aa810f> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/resource.so 0x11b7000 - 0x11c9fff +_ctypes.so ??? (???) <7afefb64d558ccf01d6eac0cf96656a8> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_ctypes.so 0x11d7000 - 0x11d8ffe +_locale.so ??? (???) <d7a81337628350884e05ce9de1ea845a> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_locale.so 0x11e8000 - 0x11e9fff +_lsprof.so ??? (???) <ecece6df59517a9da6c524c292bd56e4> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_lsprof.so 0x1270000 - 0x127efff +cPickle.so ??? (???) <440e0c4662cf5c0515af17f94c922f9d> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/cPickle.so 0x12c6000 - 0x12cdfff +_socket.so ??? (???) <c1b22680310ec1e58bfe4a7cb8e454ed> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_socket.so 0x12d6000 - 0x12d9ff7 +_ssl.so ??? (???) <4cb670af33f341bd769cf28fc27bb467> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_ssl.so 0x12df000 - 0x12dfff5 +_weakref.so ??? (???) <945566a6acafbfd8347403996c6f0d82> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_weakref.so 0x12e3000 - 0x12e3ff0 +_scproxy.so ??? (???) <660139d7362cfcc9de8ff9e396f74fae> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_scproxy.so 0x1500000 - 0x156ffe7 +multiarray.so ??? (???) <497a6280f1628655b5ced6b7c09d13f6> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/multiarray.so 0x15a2000 - 0x15dbfff +umath.so ??? (???) <cfdf717530b8b40d0afba5be8dd76c2d> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/umath.so 0x1639000 - 0x164effa +_sort.so ??? (???) <a4be8ef49177ecbaada4f6a5cc388542> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/_sort.so 0x1655000 - 0x1659ff7 +_dotblas.so ??? (???) <ee7913daf952c4d04503bc57fb701a32> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/_dotblas.so 0x1663000 - 0x1681fff +scalarmath.so ??? (???) <b036bb179444dd184e4a798f6d9e941f> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/scalarmath.so 0x168f000 - 0x1691fff +_compiled_base.so ??? (???) <2d8e05f2c80865e73a09f62ca46f79db> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/lib/_compiled_base.so 0x16d7000 - 0x16dcff1 +lapack_lite.so ??? (???) <9c08bd5b7018aca5e25c5f2a8bca7787> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/linalg/lapack_lite.so 0x16e7000 - 0x16effff +fftpack_lite.so ??? (???) <8a361d0b89a917c648b782d827fa62fb> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/fft/fftpack_lite.so 0x16f4000 - 0x1723fff +mtrand.so ??? (???) <8274c365ec32de76b5c4ab4c6a9b5931> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/random/mtrand.so 0x1743000 - 0x174efff +datetime.so ??? (???) <291e576d4567b936c1c9420b00beb902> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/datetime.so 0x1759000 - 0x175dff9 +array.so ??? (???) <225c8ede27e3f800f3ceb1c6d912187b> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/array.so 0x1830000 - 0x186dff2 +_path.so ??? (???) <36fc51444295966e5eaf302158e923e1> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/_path.so 0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603> /usr/lib/dyld 0x90045000 - 0x900bfff8 com.apple.print.framework.PrintCore 5.5.4 (245.6) <03d0585059c20cb0bde5e000438c49e1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x90103000 - 0x90127fff libxslt.1.dylib ??? (???) <0a9778d6368ae668826f446878deb99b> /usr/lib/libxslt.1.dylib 0x90128000 - 0x90128ffd com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x90c4b000 - 0x90c4ffff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib 0x90c50000 - 0x90c66fff com.apple.DictionaryServices 1.0.0 (1.0.0) <7e9ff586b5c9d02b09e2a5527d98524f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices 0x90c67000 - 0x90ca1fe7 com.apple.coreui 1.2 (62) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x9152d000 - 0x9160eff7 libxml2.2.dylib ??? (???) <b3bc0b280c36aa17ac477b4da56cd038> /usr/lib/libxml2.2.dylib 0x916b4000 - 0x91930fe7 com.apple.Foundation 6.5.9 (677.26) <c68b3cff7864959becfc7fd1a384f925> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x91931000 - 0x91a6aff7 libicucore.A.dylib ??? (???) <f2819243b278259b9a622ea111ea5fd6> /usr/lib/libicucore.A.dylib 0x91a6b000 - 0x91abcff7 com.apple.HIServices 1.7.1 (???) <ba7fd0ede540a0da08db027f87efbd60> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x91adb000 - 0x91ae3fff com.apple.DiskArbitration 2.2.1 (2.2.1) <42908e7ecc17a83cec4afef2850ec79e> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x91bc7000 - 0x91c21ff7 com.apple.CoreText 2.0.5 (???) <5483518a613464d043455ac661a9dcbe> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText 0x91c22000 - 0x91cacff7 com.apple.DesktopServices 1.4.9 (1.4.9) <f5e51a76d315798371b3dd35a4d46d6c> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x91cad000 - 0x91d06ff7 libGLU.dylib ??? (???) <a3b9be30100a25a6cd3ad109892f52b7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x91d0c000 - 0x91d0cffd com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x91d0d000 - 0x91d0dfff com.apple.Carbon 136 (136) <ec1d4184925e652dbe1b9200a5a552ec> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x91d0e000 - 0x91dbefff edu.mit.Kerberos 6.0.14 (6.0.14) <673f107cdae80c084774a27bc7bc46c1> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x91dbf000 - 0x91e1cffb libstdc++.6.dylib ??? (???) <6106b1f2b0b303b06ae476253dbb5f3f> /usr/lib/libstdc++.6.dylib 0x91e1d000 - 0x91e39ff3 com.apple.CoreVideo 1.6.1 (48.6) <f1837beeefc81964abf7b58075edea2f> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x91e3a000 - 0x91e55ff3 libPng.dylib ??? (???) <c0791798fb92acc136c250a373449359> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x91e97000 - 0x91ef3ff7 com.apple.htmlrendering 68 (1.1.3) <a9f65fa1c4668dc7c49af5bf7d5287ad> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x91ef4000 - 0x91ef4ffa com.apple.CoreServices 32 (32) <2760719f7a81e8c2bdfd15b0939abc29> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x922fa000 - 0x9231efeb libssl.0.9.7.dylib ??? (???) <5b29af782be5894be8b336c9c73c18b6> /usr/lib/libssl.0.9.7.dylib 0x9251b000 - 0x92598feb com.apple.audio.CoreAudio 3.1.2 (3.1.2) <782a08c44be4698597f4bbd79cac21c6> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x92599000 - 0x9259efff com.apple.CommonPanels 1.2.4 (85) <3b64ef0de184d09c6f99a1a7e77e42be> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x9259f000 - 0x9295dfea libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x929aa000 - 0x92a51feb com.apple.QD 3.11.57 (???) <35f058678972d42b88ebdf652df79956> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x92a52000 - 0x92b9aff7 com.apple.ImageIO.framework 2.0.7 (2.0.7) <acf821a3c418fdc86ef02b654366f5f6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x92b9b000 - 0x92ba4fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <6a6518b392d3d41ace3dcea69d6809d9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x92ba5000 - 0x92beefef com.apple.Metadata 10.5.8 (398.26) <e4d268ea45379200f03cdc7c8bedae6f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x92cde000 - 0x92d07fff libcups.2.dylib ??? (???) <2b0ab6b9fa1957ee940835d0cfd42894> /usr/lib/libcups.2.dylib 0x92d08000 - 0x92d47fef libTIFF.dylib ??? (???) <a5991d757f0c17a9bb8b1bcb14ab9ec0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x92d48000 - 0x92d4efff com.apple.print.framework.Print 218.0.3 (220.2) <5b7f4ef7c2df36aff9605377775781e4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x92dc1000 - 0x92e40ff5 com.apple.SearchKit 1.2.2 (1.2.2) <3b5f3ab6a363a4d8a2bbbf74213ab0e5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x92e46000 - 0x92e50feb com.apple.audio.SoundManager 3.9.2 (3.9.2) <caa41909dcb5a18a94bc68cd13999bd5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound 0x92e51000 - 0x92e51ffb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer 0x92e52000 - 0x92f19ff2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x92f1a000 - 0x92f1affd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x9309c000 - 0x9309dffc libffi.dylib ??? (???) <596e0dbf626b211741cecaa9698f271b> /usr/lib/libffi.dylib 0x93137000 - 0x93166fe3 com.apple.AE 402.3 (402.3) <b13bfda0ad9314922ee37c0d018d7de9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x93167000 - 0x93232fef com.apple.ColorSync 4.5.3 (4.5.3) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x9323f000 - 0x932ccff7 com.apple.framework.IOKit 1.5.2 (???) <7a3cc24f78f93931731203854ae0d891> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x9443b000 - 0x9444bffc com.apple.LangAnalysis 1.6.5 (1.6.5) <d057feb38163121ffd871c564c692804> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x9444c000 - 0x94754fe7 com.apple.HIToolbox 1.5.6 (???) <eece3cb8aa0a4e6843fcc1500aca61c5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x94755000 - 0x94773fff libresolv.9.dylib ??? (???) <a8018c42930596593ddf27f7c20fe7af> /usr/lib/libresolv.9.dylib 0x94a83000 - 0x94a8fffe libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x94cf9000 - 0x94da0fec com.apple.CFNetwork 438.16 (438.16) <dbf00ca36a09edfae60ec44f9d7a9ef9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x94db3000 - 0x94ee6fe7 com.apple.CoreFoundation 6.5.7 (476.19) <a332c8f45529ee26d2e9c36d0c723bad> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x94f25000 - 0x95005fff libobjc.A.dylib ??? (???) <7b92613fdf804fd9a0a3733a0674c30b> /usr/lib/libobjc.A.dylib 0x95006000 - 0x9503dfff com.apple.SystemConfiguration 1.9.2 (1.9.2) <8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x95133000 - 0x95135ff5 libRadiance.dylib ??? (???) <276f13ab6429e05b093a8dda251e3b53> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x9521f000 - 0x9523effa libJPEG.dylib ??? (???) <d23f3f3b9d168bf32f89449f83fa07f7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x952af000 - 0x9532cfef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x9532d000 - 0x95334ffe libbsm.dylib ??? (???) <5582985a86ea36504cca31788bccf963> /usr/lib/libbsm.dylib 0x95335000 - 0x953c8fff com.apple.ink.framework 101.3 (86) <dfa9debcd7537849d228021d1d9c0f63> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x953c9000 - 0x953f6feb libvDSP.dylib ??? (???) <2ee4eb005babc90eaa352b33eb09226e> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x95411000 - 0x95429fff com.apple.openscripting 1.2.8 (???) <572c7452d7e740e8948a5ad07a99602b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x9547a000 - 0x9588afef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x9588b000 - 0x959f2ff3 libSystem.B.dylib ??? (???) <c8f52e158bf540cc000146ca8a705958> /usr/lib/libSystem.B.dylib 0x95ba2000 - 0x95ba2ff8 com.apple.ApplicationServices 34 (34) <e9cd7c823062c4382d89e3c9997f4739> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x95ba3000 - 0x95baafe9 libgcc_s.1.dylib ??? (???) <28a7cbc3a5ca2982d124668306f422d9> /usr/lib/libgcc_s.1.dylib 0x95bab000 - 0x95bc0ffb com.apple.ImageCapture 5.0.2 (5.0.2) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x95bc1000 - 0x95c73ffb libcrypto.0.9.7.dylib ??? (???) <d02f7e5b8a68813bb7a77f5edb34ff9d> /usr/lib/libcrypto.0.9.7.dylib 0x95c74000 - 0x95c76fff com.apple.securityhi 3.0 (30817) <020419ad33b8638b174e1a472728a894> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x95c77000 - 0x95e48ff3 com.apple.security 5.0.6 (37592) <0b25e1e4cc34431630f01edb3fdf54d1> /System/Library/Frameworks/Security.framework/Versions/A/Security 0x95e49000 - 0x95e56fe7 com.apple.opengl 1.5.10 (1.5.10) <5a2813f80c9441170cc1ab8a3dac5038> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x960f9000 - 0x96124fe7 libauto.dylib ??? (???) <2072d673706bbe463ed2426af57a28d7> /usr/lib/libauto.dylib 0x96125000 - 0x96135fff com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <06d8fc0307314f8ffc16f206ad3dbf44> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x96136000 - 0x96139fff com.apple.help 1.1 (36) <175489f8adf287b3ebd259362b0292c0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x96163000 - 0x9643dff3 com.apple.CoreServices.CarbonCore 786.16 (786.16) <60b518e4ad02b91826240199a6311286> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x9643e000 - 0x96480fef com.apple.NavigationServices 3.5.2 (163) <91844980804067b07a0b6124310d3f31> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x96481000 - 0x96508ff7 libsqlite3.0.dylib ??? (???) <3334ea5af7a911637413334154bb4100> /usr/lib/libsqlite3.0.dylib 0x96509000 - 0x969dafbe libGLProgrammability.dylib ??? (???) <7f18294a7bd0b6afe4319f29187fc70d> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib 0x969db000 - 0x96a68ff7 com.apple.LaunchServices 292 (292) <a41286c7c1eb20ffd5cc796f791070f0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x96bee000 - 0x96bf2fff libGIF.dylib ??? (???) <36f7b0255a81d97c7b360c3b11b4e462> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x96bf3000 - 0x97293fef com.apple.CoreGraphics 1.409.7 (???) <7b65edcce394f39b6a1954d5e30bc34c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x97294000 - 0x97631fef com.apple.QuartzCore 1.5.8 (1.5.8) <a28fa54346a9f9d5b3bef076a1ee0fcf> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x97632000 - 0x976edfe3 com.apple.CoreServices.OSServices 228.1 (228.1) <76fdc146b4d9937f9c5cbaa1512e0023> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x9787e000 - 0x978bcfff libGLImage.dylib ??? (???) <a6425aeb77f4da13212ac75df57b056d> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x97dcd000 - 0x97ddbffd libz.1.dylib ??? (???) <545ca09467025f77131cfac09d8b9375> /usr/lib/libz.1.dylib 0x97ddc000 - 0x97e6fff3 com.apple.ApplicationServices.ATS 3.8 (???) <e61b0945da6ab368348a927f7428ad67> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib 0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib |
From: Michael D. <md...@st...> - 2010-12-06 13:46:06
|
This is the font file that matplotlib is having trouble with: /home/michael/.fonts/kai26.afm Google doesn't answer my question about what that font is (in fact, the first result is this e-mail thread!!!) Can you send it to me off-list so I can investigate further? Mike On 12/04/2010 02:06 AM, Daoliang Tan wrote: > Right now, I am not sure whether I am a member of the matplotlib-user > maillist. Since I don't receive any indication about the successful > application as other maillists did. But after googling, I find the > reply from Michael Droettboom. I really appreciate your kind help. > Based on your hints and suggestions, the command "ipython -pylab > --verbose-debug" produces the following outputs (sorry for this large > bunch block and I will explicitly give you the requried value of > "fpath" on line 578 of font_manager.py ) : > =============================================================================================================================================== > $HOME=/home/michael > CONFIGDIR=/home/michael/.matplotlib > matplotlib data path /usr/share/matplotlib/mpl-data > loaded rc file /etc/matplotlibrc > matplotlib version 0.99.3 > verbose.level debug > interactive is False > units is False > platform is linux2 > loaded modules: ['numpy.core.info <http://numpy.core.info>', > 'IPython.iplib', 'ctypes.os', 'gc', 'matplotlib.tempfile', > 'distutils.sysconfig', 'types', 'IPython.ConfigLoader', > 'numpy.polynomial.exceptions', 'numpy.fft.types', 'numpy.ma.operator', > 'pprint', 'numpy.core.umath', 'matplotlib.matplotlib', 'string', > 'matplotlib.locale', 'numpy.lib.arraysetops', 'encodings.utf_8', > 'IPython.Debugger', 'datetime', 'numpy.core.machar', 'cmd', > 'numpy.ma.extras', 'numpy.fft.fftpack_lite', 'shlex', > 'IPython.testing.decorator_msim', 'IPython.excolors', 'dis', > 'numpy.numpy', 'IPython.external.simplegeneric', 'IPython.types', > 'numpy.lib.sys', 'numpy.ma.itertools', 'abc', 'bdb', > 'numpy.matrixlib.sys', 'matplotlib.sys', 'numpy.lib._compiled_base', > 'new', 'numpy.random.mtrand', 'IPython.external.fnmatch', 'xml', > 'optparse', '_ctypes', 'numpy.fft.numpy', 'exceptions', 'codecs', > 'numpy.os', 'matplotlib.sre_constants', 'matplotlib.os', 'StringIO', > 'IPython.platform', 'IPython.external.pwd', 'weakref', > 'numpy.core._internal', 'doctest', 'IPython.tokenize', > 'distutils.sys', 'numpy.matrixlib.numpy', 'base64', 'IPython.Release', > '_sre', 'matplotlib.re <http://matplotlib.re>', 'IPython', 'select', > 'ctypes._ctypes', '_heapq', 'numpy.lib.financial', 'binascii', > 'IPython.sys', 'IPython.genutils', 'tokenize', 'numpy.core.numpy', > 'numpy.polynomial.chebyshev', 'cPickle', 'IPython.macro', > 'IPython.string', 'matplotlib.pyparsing', 'numpy.core.fromnumeric', > 'numpy.ctypeslib', 'encodings.aliases', 'fnmatch', 'sre_parse', > 'pickle', 'IPython.prefilter', 'xml.sax.types', > 'numpy.lib.polynomial', 'numpy.compat', 'IPython.ipstruct', > 'IPython.inspect', 'numpy.core.records', > 'IPython.testing.decorators_numpy', 'strop', 'numpy.core.numeric', > 'IPython.shutil', 'IPython.Extensions.pickleshare', 'IPython.Logger', > 'IPython.subprocess', 'numpy.lib.utils', 'numpy.core.__builtin__', > 'codeop', 'numpy.lib.arrayterator', 'os.path', 'IPython.DPyGetOpt', > 'functools', 'numpy.core.numerictypes', 'numpy.ma.cPickle', > 'matplotlib.copy', 'numpy.matrixlib.defmatrix', 'tempfile', > 'IPython.doctest', 'IPython.external.md5', 'imp', 'IPython.pdb', > 'IPython.rlineimpl', 'numpy.core.scalarmath', 'numpy.linalg.info > <http://numpy.linalg.info>', 'matplotlib.__future__', > 'IPython.thread', 'IPython.Itpl', 'numpy.core.os', > 'IPython.Extensions.time', 'numpy.lib._datasource', 'token', > 'IPython.testing.sys', 'IPython.new', 'cStringIO', 'numpy.polynomial', > 'matplotlib.StringIO', 'IPython.platutils_posix', 'numpy.add_newdocs', > 'IPython.commands', 'encodings', 'IPython.threading', > 'numpy.lib.numpy', 're', 'IPython.external.string', > 'numpy.polynomial.polyutils', 'math', 'numpy.ma.warnings', > 'IPython.Queue', 'numpy.lib.warnings', 'ctypes.struct', > 'numpy.core.sys', 'md5', '_locale', 'thread', 'IPython.StringIO', > 'traceback', 'errno', 'IPython.traceback', '_collections', > 'matplotlib.traceback', 'IPython.Shell', 'xml.sax.sys', > 'numpy.random', 'numpy.linalg.numpy', 'IPython.external.tokenize', > 'numpy.lib.twodim_base', 'ctypes.sys', 'matplotlib.datetime', > 'posixpath', 'numpy.lib.re <http://numpy.lib.re>', 'IPython.re', > 'numpy.core.arrayprint', 'IPython.getopt', 'IPython.token', > 'numpy.lib.stride_tricks', 'numpy.lib.scimath', 'xml.sax.os', > '_codecs', 'numpy.lib.operator', 'numpy.__config__', > 'numpy.lib.ufunclike', 'copy', 'hashlib', 'keyword', > 'IPython.linecache', 'xml.sax.saxutils', 'posix', '_curses', > 'numpy.core.ctypes', 'IPython.OutputTrap', 'sre_compile', '_hashlib', > 'IPython.PyColorize', 'IPython.Extensions.warnings', > 'numpy._import_tools', 'IPython.history', '__main__', 'numpy.fft.info > <http://numpy.fft.info>', 'numpy.sys', 'IPython.bisect', > 'encodings.codecs', 'curses.curses', 'IPython.external.codecs', > 'IPython.readline', '_ssl', 'numpy.lib.index_tricks', 'warnings', > 'glob', 'IPython.ColorANSI', 'numpy.lib.os', 'matplotlib.cbook', > 'IPython.Extensions.os', 'linecache', 'xml.sax.codecs', > 'numpy.lib.cStringIO', 'numpy.linalg.linalg', 'matplotlib.warnings', > 'numpy.lib._iotools', 'random', '_bisect', 'subprocess', > 'IPython.bdb', 'ctypes._endian', 'encodings.encodings', > 'IPython.time', 'numpy.ma.numpy', 'numpy.lib.__future__', > 'IPython.Extensions.cPickle', 'numpy.compat.types', 'numpy.linalg', > 'IPython.OInspect', 'cProfile', 'IPython.cStringIO', > 'matplotlib.subprocess', 'numpy.lib.math', 'repr', 'ssl', > 'numpy.testing.re <http://numpy.testing.re>', 'numpy.version', > 'distutils.re <http://distutils.re>', '_lsprof', 'IPython.os', > 'numpy.lib.type_check', 'resource', 'IPython.external.os', 'bisect', > 'IPython.glob', 'numpy.lib.types', 'pydoc', 'threading', > 'IPython.ctypes', 'IPython.Extensions.glob', 'numpy.fft.helper', > 'IPython.external.warnings', 'numpy.lib.itertools', > 'IPython.external.shutil', 'IPython.external.glob', 'locale', > 'IPython.external', 'numpy.testing.types', 'IPython.testing.inspect', > 'numpy.testing.decorators', 'IPython.external.__future__', > 'matplotlib.string', 'urllib', 'IPython.__main__', 'fcntl', > 'IPython.Extensions.stat', 'distutils.os', 'IPython.hooks', > 'numpy.lib.info <http://numpy.lib.info>', 'ctypes', > 'IPython.generics', 'numpy.testing.sys', 'numpy.core._sort', 'Queue', > 'commands', 'numpy.lib.shutil', 'IPython.socket', 'itertools', > 'numpy.fft.fftpack', 'opcode', 'pdb', 'numpy.polynomial.numpy', > 'IPython.testing', 'curses._curses', 'IPython.external.path', > 'IPython.codeop', 'pkgutil', 'platform', 'sre_constants', > 'matplotlib.types', 'numpy.core.function_base', 'numpy', > 'IPython.strdispatch', 'numpy.polynomial.warnings', 'matplotlib.xml', > 'termios', 'numpy.lib.shape_base', 'IPython.IPython', 'curses.sys', > 'numpy.testing.os', 'IPython.resource', 'numpy.lib', > 'distutils.types', 'IPython.Extensions.IPython', 'IPython.optparse', > 'IPython.curses', 'distutils.distutils', 'copy_reg', 'site', > 'IPython.cProfile', 'shutil', 'numpy.lib.cPickle', > 'numpy.core._dotblas', 'numpy.testing.traceback', 'numpy.ctypes', > 'numpy.core', 'matplotlib.rcsetup', 'IPython.wildcard', 'curses.os', > 'IPython.shadowns', 'numpy.core.types', 'sys', > 'numpy.compat._inspect', 'IPython.ipmaker', 'IPython.background_jobs', > 'matplotlib.fontconfig_pattern', '_weakref', 'difflib', > 'distutils.errors', 'urlparse', 'IPython.ipapi', > 'numpy.testing.numpy', 'heapq', 'xml.sax.urlparse', 'distutils', > 'IPython.signal', 'matplotlib.errno', 'IPython.Prompts', > 'matplotlib.colors', 'struct', 'numpy.random.info > <http://numpy.random.info>', 'xml.sax.urllib', 'matplotlib.threading', > 'numpy.testing.operator', 'numpy.testing', 'collections', > 'IPython.pydoc', 'unittest', 'zipimport', 'IPython.Magic', > 'numpy.testing.unittest', 'textwrap', 'getopt', > 'numpy.lib.__builtin__', 'signal', 'numpy.lib.io > <http://numpy.lib.io>', 'IPython.shlex', 'numpy.core.multiarray', > 'IPython.exceptions', 'distutils.version', 'numpy.ma.core', > 'numpy.core.getlimits', 'IPython.termios', 'numpy.matrixlib', > 'IPython.testing.decorators', 'numpy.polynomial.string', > 'matplotlib.numpy', 'UserDict', 'inspect', '_functools', > 'numpy.__builtin__', 'socket', 'IPython.cmd', 'numpy.core.memmap', > 'numpy.testing.warnings', 'IPython.external.Itpl', > 'numpy.linalg.lapack_lite', 'os', 'marshal', 'IPython.FakeModule', > '__future__', 'numpy.core.shape_base', 'curses', '__builtin__', > 'xml.sax.xmlreader', 'numpy.core.cPickle', 'operator', > 'numpy.polynomial.polytemplate', 'distutils.string', 'IPython.usage', > '_socket', 'numpy.ma <http://numpy.ma>', 'xml.sax.handler', > '_warnings', 'encodings.__builtin__', 'IPython.platutils', > 'IPython.keyword', 'pwd', 'sitecustomize', 'curses.wrapper', > 'IPython.__builtin__', 'numpy.core.re <http://numpy.core.re>', > '_struct', 'numpy.fft', 'numpy.random.numpy', > 'numpy.lib.function_base', 'IPython.ultraTB', 'IPython.tempfile', > 'xml.sax', '_random', 'IPython.external.types', > 'numpy.polynomial.polynomial', 'IPython.Extensions.UserDict', > 'matplotlib.weakref', 'IPython.pprint', 'numpy.testing.numpytest', > 'IPython.textwrap', 'numpy.core.defchararray', 'gettext', > 'IPython.external.sys', '_abcoll', 'IPython.Extensions', > 'IPython.fnmatch', 'matplotlib.time', 'xml.sax._exceptions', > 'genericpath', 'stat', 'IPython.warnings', 'numpy.core.warnings', > 'ctypes.ctypes', 'numpy.lib.format', 'readline', > 'numpy.testing.nosetester', 'matplotlib', 'IPython.cPickle', > 'numpy.polynomial.__future__', 'matplotlib.distutils', > 'matplotlib.shutil', 'time', 'numpy.testing.utils'] > font search path ['/usr/share/matplotlib/mpl-data/fonts/ttf', > '/usr/share/matplotlib/mpl-data/fonts/afm'] > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmex10.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniIta.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUni.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz5Sym.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmtt10.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneral.ttf > trying fontname > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf > trying fontname > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3SymBol.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3Sym.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2Sym.ttf > trying fontname > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmr10.ttf > trying fontname > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2SymBol.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmsy10.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmss10.ttf > trying fontname > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1SymBol.ttf > trying fontname > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf > trying fontname > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4SymBol.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4Sym.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1Sym.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmmi10.ttf > trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf > trying fontname > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf > trying fontname > /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Bold.ttf > trying fontname > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasI.ttf > trying fontname > /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf > trying fontname > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasR.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/verdanai.ttf > trying fontname /usr/share/fonts/truetype/freefont/FreeSerif.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf > trying fontname > /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Bold.ttf > trying fontname /usr/share/fonts/truetype/arphic/gbsn00lp.ttf > trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf > trying fontname /usr/share/fonts/truetype/ttf-lyx/cmmi10.ttf > trying fontname > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasB.ttf > trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf > trying fontname > /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold.ttf > trying fontname /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf > trying fontname > /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Italic.ttf > trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/georgiab.ttf > trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf > trying fontname > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasI.ttf > trying fontname /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf > trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf > trying fontname > /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold.ttf > trying fontname > /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold_Italic.ttf > trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf > trying fontname /home/michael/.fonts/gbsn00lp.ttf > trying fontname > /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold_Italic.ttf > trying fontname /usr/share/fonts/truetype/ttf-lyx/eufm10.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf > trying fontname > /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Italic.ttf > trying fontname /usr/share/fonts/truetype/ttf-lyx/wasy10.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/Impact.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-BoldOblique.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/Georgia.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf > trying fontname /usr/share/fonts/truetype/ttf-lyx/msbm10.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/andalemo.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/arialbi.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/Verdana.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf > trying fontname > /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-BoldItalic.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Oblique.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/cour.ttf > trying fontname /usr/share/fonts/truetype/ttf-sil-gentium/GenR102.ttf > trying fontname > /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Italic.ttf > trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBI.ttf > trying fontname /home/michael/.fonts/Ubuntu-R.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/courbd.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Bold.ttf > trying fontname > /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Italic.ttf > trying fontname > /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Bold.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/Courier_New.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/comicbd.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/Arial.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/courbi.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/times.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/Verdana_Italic.ttf > trying fontname > /usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf > trying fontname /usr/share/fonts/truetype/ttf-sil-gentium/GenAR102.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/couri.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/georgia.ttf > trying fontname /usr/share/fonts/truetype/msttcorefonts/trebuc.ttf > trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf > trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraIt.ttf > trying fontname /usr/share/fonts/truetype/arphic/bsmi00lp.ttf > trying fontname /usr/share/fonts/truetype/freefont/FreeSansBold.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf > trying fontname /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf > trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf > trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf > trying fontname > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf > trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmex10.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniIta.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUni.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz5Sym.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmtt10.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneral.ttf > createFontDict: > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf > createFontDict: > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3SymBol.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3Sym.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2Sym.ttf > createFontDict: > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmr10.ttf > createFontDict: > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2SymBol.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmsy10.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmss10.ttf > createFontDict: > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1SymBol.ttf > createFontDict: > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf > createFontDict: > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4SymBol.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4Sym.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1Sym.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmmi10.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf > createFontDict: > /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Bold.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasI.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasR.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdanai.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeSerif.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Bold.ttf > createFontDict: /usr/share/fonts/truetype/arphic/gbsn00lp.ttf > createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf > createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmmi10.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasB.ttf > createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Italic.ttf > createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgiab.ttf > createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasI.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf > createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold_Italic.ttf > createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf > createFontDict: /home/michael/.fonts/gbsn00lp.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold_Italic.ttf > createFontDict: /usr/share/fonts/truetype/ttf-lyx/eufm10.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Italic.ttf > createFontDict: /usr/share/fonts/truetype/ttf-lyx/wasy10.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Impact.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-BoldOblique.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Georgia.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf > createFontDict: /usr/share/fonts/truetype/ttf-lyx/msbm10.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/andalemo.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/arialbi.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Verdana.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-BoldItalic.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Oblique.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/cour.ttf > createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenR102.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Italic.ttf > createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBI.ttf > createFontDict: /home/michael/.fonts/Ubuntu-R.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/courbd.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Bold.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Italic.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Bold.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Courier_New.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/comicbd.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/courbi.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/times.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Verdana_Italic.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf > createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenAR102.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/couri.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgia.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebuc.ttf > createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf > createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraIt.ttf > createFontDict: /usr/share/fonts/truetype/arphic/bsmi00lp.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeSansBold.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf > createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf > createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf > createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdanaz.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgiai.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS_Bold.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Georgia_Italic.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Courier_New_Italic.ttf > createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenI102.ttf > createFontDict: /home/michael/.fonts/gkai00mp.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-BoldItalic.ttf > createFontDict: /home/michael/.fonts/Ubuntu-B.ttf > createFontDict: /usr/share/fonts/truetype/ttf-lyx/esint10.ttf > createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmsy10.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/ariblk.ttf > createFontDict: /usr/share/fonts/truetype/openoffice/opens___.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Verdana_Bold_Italic.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasR.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Italic.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial_Black.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Webdings.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Verdana_Bold.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial_Italic.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeSans.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasB.ttf > createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmr10.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/ariali.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebucbi.ttf > createFontDict: /home/michael/.fonts/Ubuntu-BI.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeMono.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/timesi.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Italic.ttf > createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBI.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgiaz.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold_Italic.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/arialbd.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/timesbd.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Bold.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdana.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/arial.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeMonoOblique.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/comic.ttf > createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/webdings.ttf > createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenAI102.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebucit.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Regular.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasBI.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/timesbi.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf > createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Arial_Bold_Italic.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasBI.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationMono-BoldItalic.ttf > createFontDict: /home/michael/.fonts/wqy-zenhei.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/impact.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdanab.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Bold_Italic.ttf > createFontDict: /usr/share/fonts/truetype/arphic/gkai00mp.ttf > createFontDict: /usr/share/fonts/truetype/ttf-lyx/msam10.ttf > createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebucbd.ttf > createFontDict: /usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf > createFontDict: > /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf > createFontDict: /home/michael/.fonts/Ubuntu-I.ttf > createFontDict: > /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold.ttf > createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmex10.ttf > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvl8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pzcmi8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplb8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putbi8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvro8an.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkd8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncri8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrb8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvr8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putb8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncb8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrro8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmex10.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmtt10.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvr8an.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvro8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmr8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplbi8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmsy10.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagk8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrr8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmmi10.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagko8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkdi8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmr10.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagdo8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmb8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvlo8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvb8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pzdr.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmri8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplr8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkl8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncbi8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/psyr.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putri8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplri8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmbi8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkli8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putr8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagd8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncr8a.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8an.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvb8an.afm > createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrbo8a.afm > createFontDict: /home/michael/.fonts/kai26.afm > Traceback (most recent call last): > File "/usr/bin/ipython", line 28, in <module> > IPython.Shell.start().mainloop() > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1241, in start > return shell(user_ns = user_ns) > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1106, in > __init__ > shell_class=MatplotlibShell) > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 73, in > __init__ > debug=debug,shell_class=shell_class) > File "/usr/lib/pymodules/python2.6/IPython/ipmaker.py", line 100, in > make_IPython > embedded=embedded,**kw) > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 627, in > __init__ > user_ns,user_global_ns,b2 = > self._matplotlib_config(name,user_ns,user_global_ns) > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 556, in > _matplotlib_config > import matplotlib.pylab as pylab > File "/usr/lib/pymodules/python2.6/matplotlib/pylab.py", line 206, in > <module> > from matplotlib import mpl # pulls in most modules > File "/usr/lib/pymodules/python2.6/matplotlib/mpl.py", line 2, in > <module> > from matplotlib import axis > File "/usr/lib/pymodules/python2.6/matplotlib/axis.py", line 10, in > <module> > import matplotlib.font_manager as font_manager > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > 1301, in <module> > _rebuild() > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > 1292, in _rebuild > fontManager = FontManager() > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > 1010, in __init__ > self.afmlist = createFontList(self.afmfiles, fontext='afm') > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > 578, in createFontList > font = afm.AFM(fh) > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 303, in > __init__ > parse_afm(fh) > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 291, in > parse_afm > dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh) > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 176, in > _parse_char_metrics > bbox = _to_list_of_floats(vals[3][2:]) > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 58, in > _to_list_of_floats > return [_to_float(val) for val in s.split()] > ValueError: invalid literal for float(): uni2605 > ================================================================================================================================================= > *The fpath value is * > /usr/share/matplotlib/mpl-data/fonts/afm/phvl8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pzcmi8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pplb8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/putbi8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/phvro8an.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pbkd8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pncri8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pcrb8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/phvr8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/putb8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pncb8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pcrro8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/cmex10.afm > /usr/share/matplotlib/mpl-data/fonts/afm/cmtt10.afm > /usr/share/matplotlib/mpl-data/fonts/afm/phvr8an.afm > /usr/share/matplotlib/mpl-data/fonts/afm/phvro8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/ptmr8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pplbi8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/cmsy10.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pagk8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pcrr8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/cmmi10.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pagko8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pbkdi8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/cmr10.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pagdo8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/ptmb8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/phvlo8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/phvb8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pzdr.afm > /usr/share/matplotlib/mpl-data/fonts/afm/ptmri8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pplr8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pbkl8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pncbi8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/psyr.afm > /usr/share/matplotlib/mpl-data/fonts/afm/putri8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pplri8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/ptmbi8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pbkli8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/putr8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pagd8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pncr8a.afm > /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8an.afm > /usr/share/matplotlib/mpl-data/fonts/afm/phvb8an.afm > /usr/share/matplotlib/mpl-data/fonts/afm/pcrbo8a.afm > --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > Hopefully, this info can help to pinpoint the difficult font file. > > Thanks for your help! > > Daoliang > > > > > > On Fri, Nov 26, 2010 at 9:54 AM, Daoliang Tan > <dao...@gm... <mailto:dao...@gm...>> wrote: > > Dear all, > > > > I am facing a weird problem when I import pylab or pyplot modules. > > Right now, I can successfully import matplotlib. But after I issue > > the command "ipython -pylab --verbose-helpful", I get the following > > error: > > > ================================================================================================================================================= > > $HOME=/home/michael > > CONFIGDIR=/home/michael/.matplotlib > > matplotlib data path /usr/share/matplotlib/mpl-data > > loaded rc file /etc/matplotlibrc > > matplotlib version 0.99.3 > > verbose.level helpful > > interactive is False > > units is False > > platform is linux2 > > font search path ['/usr/share/matplotlib/mpl-data/fonts/ttf', > > '/usr/share/matplotlib/mpl-data/fonts/afm'] > > Traceback (most recent call last): > > File "/usr/bin/ipython", line 28, in <module> > > IPython.Shell.start().mainloop() > > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1241, in > start > > return shell(user_ns = user_ns) > > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1106, in > __init__ > > shell_class=MatplotlibShell) > > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 73, in > __init__ > > debug=debug,shell_class=shell_class) > > File "/usr/lib/pymodules/python2.6/IPython/ipmaker.py", line 100, in > > make_IPython > > embedded=embedded,**kw) > > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 627, in > __init__ > > user_ns,user_global_ns,b2 = > > self._matplotlib_config(name,user_ns,user_global_ns) > > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 556, in > > _matplotlib_config > > import matplotlib.pylab as pylab > > File "/usr/lib/pymodules/python2.6/matplotlib/pylab.py", line 206, > in <module> > > from matplotlib import mpl # pulls in most modules > > File "/usr/lib/pymodules/python2.6/matplotlib/mpl.py", line 2, in > <module> > > from matplotlib import axis > > File "/usr/lib/pymodules/python2.6/matplotlib/axis.py", line 10, in > <module> > > import matplotlib.font_manager as font_manager > > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > > 1301, in <module> > > _rebuild() > > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > > 1292, in _rebuild > > fontManager = FontManager() > > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > > 1010, in __init__ > > self.afmlist = createFontList(self.afmfiles, fontext='afm') > > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > > 578, in createFontList > > font = afm.AFM(fh) > > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 303, in > __init__ > > parse_afm(fh) > > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 291, in > parse_afm > > dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh) > > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 176, in > > _parse_char_metrics > > bbox = _to_list_of_floats(vals[3][2:]) > > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 58, in > > _to_list_of_floats > > return [_to_float(val) for val in s.split()] > > ValueError: invalid literal for float(): uni2605 > > > =========================================================================================================================================== > > > > Each time, as long as I import pylab OR pyplot, I will obtain > > "ValueError: invalid literal for float(): uni2605". After googling a > > long time, I can not get an idea to address this issue. Can anyone > > give me some hints? > > > > My computer configuration is the following: > > > > 1. OS: debian squeeze Linux 2.6.32-5-amd64 #1 SMP Sat Oct 30 14:18:21 > > UTC 2010 x86_64 GNU/Linux > > 2. matplotlib version: 0.99.3 > > 3. The matplotlib is installed from the debian repository. > > 4. no any special customization of "matplotlibrc" > > 5. import pylab will produce this error. > > 6. python version: 2.6.6-3 > > > > > > I have reinstalled these packages many times and this does not solve > > this issue. > > > > Thanks for your help! > > > > Daoliang > > > > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to move > off Lotus Notes and onto the cloud with Force.com, apps are easier to build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Space Telescope Science Institute Baltimore, Maryland, USA |
From: C M <cmp...@gm...> - 2010-12-06 03:02:32
|
On Sun, Dec 5, 2010 at 9:33 PM, Jae-Joon Lee <lee...@gm...> wrote: > Here is a modified version of the code. Note that since it uses > non-public APIs, it may stop to work again in the future. According to > your original post, you seem to want to pick up points only. I guess > the better way is to have a separate artists. One for points and the > other for line segments. > > JJ, Thank you very much. This is good to know. However, I had hoped that getting this check of the line's validity would clear up the main problem I've had since going to 1.0--but it did not, The problem is: Prior to upgrade, I could get picking on a) the legend, and b) all points on the graph, whether the graph had one y axis or two (using twinx). Now, after upgrade, if I only have one y axis, I can get fine point picking and legend picking, but if I have two y axes, I can't get legend picking and can only get point picking on the points that belong to the left y axis, not the right y axis. I get no errors, but no (full) point picking, either. I need to get this cleared up and I'd love to stay with 1.0, but I don't know what the issue might be. Che |
From: Jae-Joon L. <lee...@gm...> - 2010-12-06 02:34:09
|
Here is a modified version of the code. Note that since it uses non-public APIs, it may stop to work again in the future. According to your original post, you seem to want to pick up points only. I guess the better way is to have a separate artists. One for points and the other for line segments. Regards, -JJ def contains_points(self, mouseevent): pickradius = self.pickradius # Make sure we have data to plot #if self._invalid: if self._invalidy or self._invalidx: self.recache() if len(self._xy)==0: return False,{} # Convert points to pixels if self._transformed_path is None: self._transform_path() path, affine = self._transformed_path.get_transformed_points_and_affine() path = affine.transform_path(path) xy = path.vertices xt = xy[:, 0] yt = xy[:, 1] pixels = self.figure.dpi/72. * self.pickradius d = (xt-mouseevent.x)**2 + (yt-mouseevent.y)**2 ind, = np.nonzero(np.less_equal(d, pixels**2)) # Return the point(s) within radius return len(ind)>0,dict(ind=ind) On Mon, Dec 6, 2010 at 8:19 AM, C M <cmp...@gm...> wrote: > Hello. I upgraded from about mpl 0.98.5 to 1.0, and this code, which worked > in 0.98.5: > > if line._invalid: > line.recache() > > now gives this error: > > AttributeError: 'Line2D' object has no attribute '_invalid' > > What is now (1.0) the right way to test whether a Line2D object is invalid? > > Thanks very much, > Che > > (This question is in another recent post of mine, but this is much more to > the point) > > ------------------------------------------------------------------------------ > What happens now with your Lotus Notes apps - do you make another costly > upgrade, or settle for being marooned without product support? Time to move > off Lotus Notes and onto the cloud with Force.com, apps are easier to build, > use, and manage than apps on traditional platforms. Sign up for the Lotus > Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
From: C M <cmp...@gm...> - 2010-12-05 23:19:31
|
Hello. I upgraded from about mpl 0.98.5 to 1.0, and this code, which worked in 0.98.5: if line._invalid: line.recache() now gives this error: AttributeError: 'Line2D' object has no attribute '_invalid' What is now (1.0) the right way to test whether a Line2D object is invalid? Thanks very much, Che (This question is in another recent post of mine, but this is much more to the point) |
From: Benjamin R. <ben...@ou...> - 2010-12-05 18:07:04
|
On Sun, Dec 5, 2010 at 5:29 AM, prem kiran <pre...@gm...> wrote: > THANK YOU > thank you for the response .I have problem using sympy > libraray in python.I am unable to use plot module .I am unable to import it > .what i require is given a function ,i should be able to plot it with all > the axes with and origin marked.also i should be able to zoom out the graph > and zoom in.Is there any such module?.This sympy is coming clsoe to my > requirements an dihave started using it but ended up here.kindly reply if > you know the solution. > THANKS ONCE AGAIN > > Prem, I am getting a little bit confused. Have you been using SymPy and you are having difficulty getting the results to plot? If so, is that the reason why you are looking for another way to get your expressions plotted? If this is the case, then you need to take a completely different approach. Obviously, if the Plot module in SymPy is not working, then your installation is somehow messed up and needs to be fixed. SymPy will do everything you need it to do. I suggest contacting the people on the SymPy mailing list: http://groups.google.com/group/sympy?pli=1 and see if they can help you with the plotting issue. Be sure to tell them that you are having difficulty with importing the Plot module. Copy and paste the error message that you get so that they can help you resolve that issue. Ben Root |
From: Adrian <adr...@du...> - 2010-12-04 22:30:39
|
Solved my own bone-headded problem. I should have been using "p1.xaxis" instead of "p1.yaxis". Sorry for the pointless post. Adrian 2010/12/4 Adrian <adr...@du...> > Hello, > > I am having trouble setting the formatting for date objects that are > displayed on the tick marks of one graph that I am making. The following > example code reproduces the problem for me: > > from datetime import date > > import matplotlib.dates as mdate > > import matplotlib.pyplot as plt > > p1 = plt.subplot(211) > > p1.yaxis.set_major_formatter(mdate.DateFormatter('%b %d', None)) > > plt.plot([date(2002, 3, 10)], [1]) > > The traceback that I am getting is as follows: > Traceback (most recent call last): > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/figure.py", > line 798, in draw > func(*args) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axes.py", > line 1934, in draw > a.draw(renderer) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py", > line 55, in draw_wrapper > draw(artist, renderer, *args, **kwargs) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axis.py", > line 971, in draw > tick_tups = [ t for t in self.iter_ticks()] > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axis.py", > line 907, in iter_ticks > majorLabels = [self.major.formatter(val, i) for i, val in > enumerate(majorLocs)] > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/dates.py", > line 335, in __call__ > dt = num2date(x, self.tz) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/dates.py", > line 289, in num2date > if not cbook.iterable(x): return _from_ordinalf(x, tz) > File > "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/dates.py", > line 203, in _from_ordinalf > dt = datetime.datetime.fromordinal(ix) > ValueError: ordinal must be >= 1 > > Any idea what I could be doing wrong with my formatting here? I am using > Matplotlib version 1.0.0. Thanks very much, > > Adrian > |
From: Stephen E. <mat...@re...> - 2010-12-04 22:21:36
|
On 04/12/2010 02:34, K. Larsen wrote: > The LTSpice circuit simulation program outputs a file that looks like this: > > Freq. V(n003) V(n005) V(n007) > 1.00000e+000 (-1.68072e+002dB,1.79085e+002°) > (-1.71453e-006dB,-3.60000e-002°) (-8.40364e+001dB,8.99964e+001°) > 1.07177e+000 (-1.66868e+002dB,1.79145e+002°) > (-1.96947e-006dB,-3.85838e-002°) (-8.34343e+001dB,8.99961e+001°) > 1.14870e+000 (-1.65664e+002dB,1.79202e+002°) > (-2.26233e-006dB,-4.13531e-002°) (-8.28323e+001dB,8.99959e+001°) > ... > > As can be seen there are 4 tab-delimited columns. The first column is > the dependent (horizontal) axis and represents Frequency. The > following 3 columns each contain 2 comma-delimited data points > including their units. These are the magnitude expressed in decibels > and the phase expressed in degrees. > > I'd like to be able to plot this file. 6 separate plots should > result, or 3 pairs of 2 waveforms that share the same plot yet have 2 > different axes. What is the best method to accomplish this? The matplotlib examples api/two_scales.py & pylab_examples/shared_axis_demo.py may be what you require to display your data. Though I must admit to not having tried both at the same time :) For extracting data my personal preference is to use the csv module with generators and regular expressions - keeping results in namedtuples. Quickly written example for your data: # -*- mode: python tab-width: 4 coding: utf-8 -*- # tested with Python 2.6 from future_builtins import map import csv import re from collections import deque, namedtuple import numpy as np RowTuple = namedtuple('RowTuple', 'freq col1 col2 col3') ColumnTuple = namedtuple('ColumnTuple', 'magnitude phase') DequeTuple = namedtuple('DequeTuple', 'freq magnitude1 phase1 magnitude2 phase2 magnitude3 phase3') def readLTSpice(filename): # try codec.open() if not ascii with open(filename, 'rb') as fp: fp.next() # discard the first row for row in csv.reader(fp, delimiter='\t'): yield RowTuple(*row) def splitColumn(col): # use a regular expression to extract floating point number # n.b. regular expressions are cached by the re module exp = re.compile(r"[+-]? *(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?") return ColumnTuple(*map(float, exp.findall(col))) def processFile(filename): rows = readLTSpice(filename) rows = (RowTuple(row.freq, splitColumn(row.col1), splitColumn(row.col2), splitColumn(row.col3)) for row in rows) # if there is a large number of points then deque() is more efficient # than lists as there is no copying when more memory is required result = DequeTuple(deque(), deque(), deque(), deque(), deque(), deque(), deque()) for row in rows: result.freq.append(row.freq) result.magnitude1.append(row.col1.magnitude) result.magnitude2.append(row.col2.magnitude) result.magnitude3.append(row.col3.magnitude) result.phase1.append(row.col1.phase) result.phase2.append(row.col2.phase) result.phase3.append(row.col3.phase) return result processed = processFile('ltspice.data') # convert to numpy arrays for use with matplotlib freq = np.asarray(processed.freq) magnitude1 = np.asarray(processed.magnitude1) magnitude2 = np.asarray(processed.magnitude2) magnitude3 = np.asarray(processed.magnitude3) phase1 = np.asarray(processed.phase1) phase2 = np.asarray(processed.phase2) phase3 = np.asarray(processed.phase3) # ready for plotting... Stephen Evans |
From: Adrian <adr...@du...> - 2010-12-04 22:15:15
|
Hello, I am having trouble setting the formatting for date objects that are displayed on the tick marks of one graph that I am making. The following example code reproduces the problem for me: from datetime import date import matplotlib.dates as mdate import matplotlib.pyplot as plt p1 = plt.subplot(211) p1.yaxis.set_major_formatter(mdate.DateFormatter('%b %d', None)) plt.plot([date(2002, 3, 10)], [1]) The traceback that I am getting is as follows: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/figure.py", line 798, in draw func(*args) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axes.py", line 1934, in draw a.draw(renderer) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axis.py", line 971, in draw tick_tups = [ t for t in self.iter_ticks()] File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axis.py", line 907, in iter_ticks majorLabels = [self.major.formatter(val, i) for i, val in enumerate(majorLocs)] File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/dates.py", line 335, in __call__ dt = num2date(x, self.tz) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/dates.py", line 289, in num2date if not cbook.iterable(x): return _from_ordinalf(x, tz) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/dates.py", line 203, in _from_ordinalf dt = datetime.datetime.fromordinal(ix) ValueError: ordinal must be >= 1 Any idea what I could be doing wrong with my formatting here? I am using Matplotlib version 1.0.0. Thanks very much, Adrian |
From: Benjamin R. <ben...@ou...> - 2010-12-04 16:31:39
|
On Sat, Dec 4, 2010 at 7:41 AM, prem kiran <pre...@gm...> wrote: > hi > > I have got a parametric equation in string form .Now , i want to > plot the function for the above equation and find slope for some points on > the function.Is there a way to find it using the matplotlib library ?.if > there isn't, is there another library which i could use for the above said > task. > THANK YOU > > > Prem, Matplotlib is used for plotting given data. NumPy is used to perform calculations to produce the data (which, in turn, matplotlib can plot it). However, you said that you have the equation in a string form. Are you looking to be able to evaluate any arbitrary parametric equation (given possibly by user input, perhaps?). If so, then maybe you need to look at Numexpr which can evaluate a string expression for you and return numpy arrays of the result. http://www.scipy.org/SciPyPackages/NumExpr Let us know if you have any questions. Ben Root |
From: prem k. <pre...@gm...> - 2010-12-04 13:41:57
|
hi I have got a parametric equation in string form .Now , i want to plot the function for the above equation and find slope for some points on the function.Is there a way to find it using the matplotlib library ?.if there isn't, is there another library which i could use for the above said task. THANK YOU -- PREM KIRAN 2nd YEAR DEPARTMENT OF MECHANICAL ENGINEERING IIT MADRAS CHENNAI |
From: Daoliang T. <dao...@gm...> - 2010-12-04 07:06:42
|
Right now, I am not sure whether I am a member of the matplotlib-user maillist. Since I don't receive any indication about the successful application as other maillists did. But after googling, I find the reply from Michael Droettboom. I really appreciate your kind help. Based on your hints and suggestions, the command "ipython -pylab --verbose-debug" produces the following outputs (sorry for this large bunch block and I will explicitly give you the requried value of "fpath" on line 578 of font_manager.py ) : =============================================================================================================================================== $HOME=/home/michael CONFIGDIR=/home/michael/.matplotlib matplotlib data path /usr/share/matplotlib/mpl-data loaded rc file /etc/matplotlibrc matplotlib version 0.99.3 verbose.level debug interactive is False units is False platform is linux2 loaded modules: ['numpy.core.info', 'IPython.iplib', 'ctypes.os', 'gc', 'matplotlib.tempfile', 'distutils.sysconfig', 'types', 'IPython.ConfigLoader', 'numpy.polynomial.exceptions', 'numpy.fft.types', 'numpy.ma.operator', 'pprint', 'numpy.core.umath', 'matplotlib.matplotlib', 'string', 'matplotlib.locale', 'numpy.lib.arraysetops', 'encodings.utf_8', 'IPython.Debugger', 'datetime', 'numpy.core.machar', 'cmd', 'numpy.ma.extras', 'numpy.fft.fftpack_lite', 'shlex', 'IPython.testing.decorator_msim', 'IPython.excolors', 'dis', 'numpy.numpy', 'IPython.external.simplegeneric', 'IPython.types', 'numpy.lib.sys', 'numpy.ma.itertools', 'abc', 'bdb', 'numpy.matrixlib.sys', 'matplotlib.sys', 'numpy.lib._compiled_base', 'new', 'numpy.random.mtrand', 'IPython.external.fnmatch', 'xml', 'optparse', '_ctypes', 'numpy.fft.numpy', 'exceptions', 'codecs', 'numpy.os', 'matplotlib.sre_constants', 'matplotlib.os', 'StringIO', 'IPython.platform', 'IPython.external.pwd', 'weakref', 'numpy.core._internal', 'doctest', 'IPython.tokenize', 'distutils.sys', 'numpy.matrixlib.numpy', 'base64', 'IPython.Release', '_sre', 'matplotlib.re', 'IPython', 'select', 'ctypes._ctypes', '_heapq', 'numpy.lib.financial', 'binascii', 'IPython.sys', 'IPython.genutils', 'tokenize', 'numpy.core.numpy', 'numpy.polynomial.chebyshev', 'cPickle', 'IPython.macro', 'IPython.string', 'matplotlib.pyparsing', 'numpy.core.fromnumeric', 'numpy.ctypeslib', 'encodings.aliases', 'fnmatch', 'sre_parse', 'pickle', 'IPython.prefilter', 'xml.sax.types', 'numpy.lib.polynomial', 'numpy.compat', 'IPython.ipstruct', 'IPython.inspect', 'numpy.core.records', 'IPython.testing.decorators_numpy', 'strop', 'numpy.core.numeric', 'IPython.shutil', 'IPython.Extensions.pickleshare', 'IPython.Logger', 'IPython.subprocess', 'numpy.lib.utils', 'numpy.core.__builtin__', 'codeop', 'numpy.lib.arrayterator', 'os.path', 'IPython.DPyGetOpt', 'functools', 'numpy.core.numerictypes', 'numpy.ma.cPickle', 'matplotlib.copy', 'numpy.matrixlib.defmatrix', 'tempfile', 'IPython.doctest', 'IPython.external.md5', 'imp', 'IPython.pdb', 'IPython.rlineimpl', 'numpy.core.scalarmath', 'numpy.linalg.info', 'matplotlib.__future__', 'IPython.thread', 'IPython.Itpl', 'numpy.core.os', 'IPython.Extensions.time', 'numpy.lib._datasource', 'token', 'IPython.testing.sys', 'IPython.new', 'cStringIO', 'numpy.polynomial', 'matplotlib.StringIO', 'IPython.platutils_posix', 'numpy.add_newdocs', 'IPython.commands', 'encodings', 'IPython.threading', 'numpy.lib.numpy', 're', 'IPython.external.string', 'numpy.polynomial.polyutils', 'math', 'numpy.ma.warnings', 'IPython.Queue', 'numpy.lib.warnings', 'ctypes.struct', 'numpy.core.sys', 'md5', '_locale', 'thread', 'IPython.StringIO', 'traceback', 'errno', 'IPython.traceback', '_collections', 'matplotlib.traceback', 'IPython.Shell', 'xml.sax.sys', 'numpy.random', 'numpy.linalg.numpy', 'IPython.external.tokenize', 'numpy.lib.twodim_base', 'ctypes.sys', 'matplotlib.datetime', 'posixpath', 'numpy.lib.re', 'IPython.re', 'numpy.core.arrayprint', 'IPython.getopt', 'IPython.token', 'numpy.lib.stride_tricks', 'numpy.lib.scimath', 'xml.sax.os', '_codecs', 'numpy.lib.operator', 'numpy.__config__', 'numpy.lib.ufunclike', 'copy', 'hashlib', 'keyword', 'IPython.linecache', 'xml.sax.saxutils', 'posix', '_curses', 'numpy.core.ctypes', 'IPython.OutputTrap', 'sre_compile', '_hashlib', 'IPython.PyColorize', 'IPython.Extensions.warnings', 'numpy._import_tools', 'IPython.history', '__main__', 'numpy.fft.info', 'numpy.sys', 'IPython.bisect', 'encodings.codecs', 'curses.curses', 'IPython.external.codecs', 'IPython.readline', '_ssl', 'numpy.lib.index_tricks', 'warnings', 'glob', 'IPython.ColorANSI', 'numpy.lib.os', 'matplotlib.cbook', 'IPython.Extensions.os', 'linecache', 'xml.sax.codecs', 'numpy.lib.cStringIO', 'numpy.linalg.linalg', 'matplotlib.warnings', 'numpy.lib._iotools', 'random', '_bisect', 'subprocess', 'IPython.bdb', 'ctypes._endian', 'encodings.encodings', 'IPython.time', 'numpy.ma.numpy', 'numpy.lib.__future__', 'IPython.Extensions.cPickle', 'numpy.compat.types', 'numpy.linalg', 'IPython.OInspect', 'cProfile', 'IPython.cStringIO', 'matplotlib.subprocess', 'numpy.lib.math', 'repr', 'ssl', 'numpy.testing.re', 'numpy.version', 'distutils.re', '_lsprof', 'IPython.os', 'numpy.lib.type_check', 'resource', 'IPython.external.os', 'bisect', 'IPython.glob', 'numpy.lib.types', 'pydoc', 'threading', 'IPython.ctypes', 'IPython.Extensions.glob', 'numpy.fft.helper', 'IPython.external.warnings', 'numpy.lib.itertools', 'IPython.external.shutil', 'IPython.external.glob', 'locale', 'IPython.external', 'numpy.testing.types', 'IPython.testing.inspect', 'numpy.testing.decorators', 'IPython.external.__future__', 'matplotlib.string', 'urllib', 'IPython.__main__', 'fcntl', 'IPython.Extensions.stat', 'distutils.os', 'IPython.hooks', 'numpy.lib.info', 'ctypes', 'IPython.generics', 'numpy.testing.sys', 'numpy.core._sort', 'Queue', 'commands', 'numpy.lib.shutil', 'IPython.socket', 'itertools', 'numpy.fft.fftpack', 'opcode', 'pdb', 'numpy.polynomial.numpy', 'IPython.testing', 'curses._curses', 'IPython.external.path', 'IPython.codeop', 'pkgutil', 'platform', 'sre_constants', 'matplotlib.types', 'numpy.core.function_base', 'numpy', 'IPython.strdispatch', 'numpy.polynomial.warnings', 'matplotlib.xml', 'termios', 'numpy.lib.shape_base', 'IPython.IPython', 'curses.sys', 'numpy.testing.os', 'IPython.resource', 'numpy.lib', 'distutils.types', 'IPython.Extensions.IPython', 'IPython.optparse', 'IPython.curses', 'distutils.distutils', 'copy_reg', 'site', 'IPython.cProfile', 'shutil', 'numpy.lib.cPickle', 'numpy.core._dotblas', 'numpy.testing.traceback', 'numpy.ctypes', 'numpy.core', 'matplotlib.rcsetup', 'IPython.wildcard', 'curses.os', 'IPython.shadowns', 'numpy.core.types', 'sys', 'numpy.compat._inspect', 'IPython.ipmaker', 'IPython.background_jobs', 'matplotlib.fontconfig_pattern', '_weakref', 'difflib', 'distutils.errors', 'urlparse', 'IPython.ipapi', 'numpy.testing.numpy', 'heapq', 'xml.sax.urlparse', 'distutils', 'IPython.signal', 'matplotlib.errno', 'IPython.Prompts', 'matplotlib.colors', 'struct', 'numpy.random.info', 'xml.sax.urllib', 'matplotlib.threading', 'numpy.testing.operator', 'numpy.testing', 'collections', 'IPython.pydoc', 'unittest', 'zipimport', 'IPython.Magic', 'numpy.testing.unittest', 'textwrap', 'getopt', 'numpy.lib.__builtin__', 'signal', 'numpy.lib.io', 'IPython.shlex', 'numpy.core.multiarray', 'IPython.exceptions', 'distutils.version', 'numpy.ma.core', 'numpy.core.getlimits', 'IPython.termios', 'numpy.matrixlib', 'IPython.testing.decorators', 'numpy.polynomial.string', 'matplotlib.numpy', 'UserDict', 'inspect', '_functools', 'numpy.__builtin__', 'socket', 'IPython.cmd', 'numpy.core.memmap', 'numpy.testing.warnings', 'IPython.external.Itpl', 'numpy.linalg.lapack_lite', 'os', 'marshal', 'IPython.FakeModule', '__future__', 'numpy.core.shape_base', 'curses', '__builtin__', 'xml.sax.xmlreader', 'numpy.core.cPickle', 'operator', 'numpy.polynomial.polytemplate', 'distutils.string', 'IPython.usage', '_socket', 'numpy.ma', 'xml.sax.handler', '_warnings', 'encodings.__builtin__', 'IPython.platutils', 'IPython.keyword', 'pwd', 'sitecustomize', 'curses.wrapper', 'IPython.__builtin__', 'numpy.core.re', '_struct', 'numpy.fft', 'numpy.random.numpy', 'numpy.lib.function_base', 'IPython.ultraTB', 'IPython.tempfile', 'xml.sax', '_random', 'IPython.external.types', 'numpy.polynomial.polynomial', 'IPython.Extensions.UserDict', 'matplotlib.weakref', 'IPython.pprint', 'numpy.testing.numpytest', 'IPython.textwrap', 'numpy.core.defchararray', 'gettext', 'IPython.external.sys', '_abcoll', 'IPython.Extensions', 'IPython.fnmatch', 'matplotlib.time', 'xml.sax._exceptions', 'genericpath', 'stat', 'IPython.warnings', 'numpy.core.warnings', 'ctypes.ctypes', 'numpy.lib.format', 'readline', 'numpy.testing.nosetester', 'matplotlib', 'IPython.cPickle', 'numpy.polynomial.__future__', 'matplotlib.distutils', 'matplotlib.shutil', 'time', 'numpy.testing.utils'] font search path ['/usr/share/matplotlib/mpl-data/fonts/ttf', '/usr/share/matplotlib/mpl-data/fonts/afm'] trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmex10.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniIta.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUni.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz5Sym.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmtt10.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneral.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3SymBol.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3Sym.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2Sym.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmr10.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2SymBol.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmsy10.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmss10.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1SymBol.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4SymBol.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4Sym.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1Sym.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/cmmi10.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf trying fontname /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf trying fontname /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Bold.ttf trying fontname /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasI.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf trying fontname /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasR.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/verdanai.ttf trying fontname /usr/share/fonts/truetype/freefont/FreeSerif.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf trying fontname /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Bold.ttf trying fontname /usr/share/fonts/truetype/arphic/gbsn00lp.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf trying fontname /usr/share/fonts/truetype/ttf-lyx/cmmi10.ttf trying fontname /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasB.ttf trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf trying fontname /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold.ttf trying fontname /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf trying fontname /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Italic.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/georgiab.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf trying fontname /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasI.ttf trying fontname /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold_Italic.ttf trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf trying fontname /home/michael/.fonts/gbsn00lp.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold_Italic.ttf trying fontname /usr/share/fonts/truetype/ttf-lyx/eufm10.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf trying fontname /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Italic.ttf trying fontname /usr/share/fonts/truetype/ttf-lyx/wasy10.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Impact.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-BoldOblique.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Georgia.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf trying fontname /usr/share/fonts/truetype/ttf-lyx/msbm10.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/andalemo.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/arialbi.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Verdana.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf trying fontname /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-BoldItalic.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Oblique.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/cour.ttf trying fontname /usr/share/fonts/truetype/ttf-sil-gentium/GenR102.ttf trying fontname /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Italic.ttf trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBI.ttf trying fontname /home/michael/.fonts/Ubuntu-R.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/courbd.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Bold.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Italic.ttf trying fontname /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Bold.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Courier_New.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/comicbd.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Arial.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/courbi.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/times.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/Verdana_Italic.ttf trying fontname /usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf trying fontname /usr/share/fonts/truetype/ttf-sil-gentium/GenAR102.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/couri.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/georgia.ttf trying fontname /usr/share/fonts/truetype/msttcorefonts/trebuc.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraIt.ttf trying fontname /usr/share/fonts/truetype/arphic/bsmi00lp.ttf trying fontname /usr/share/fonts/truetype/freefont/FreeSansBold.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf trying fontname /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf trying fontname /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf trying fontname /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmb10.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmex10.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniIta.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUni.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz5Sym.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmtt10.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneral.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3SymBol.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz3Sym.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2Sym.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmr10.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz2SymBol.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmsy10.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmss10.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1SymBol.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4SymBol.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz4Sym.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXSiz1Sym.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/cmmi10.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Bold.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasI.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasR.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdanai.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeSerif.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Bold.ttf createFontDict: /usr/share/fonts/truetype/arphic/gbsn00lp.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmmi10.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasB.ttf createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Regular.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgiab.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasI.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeSansOblique.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Georgia_Bold_Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSeBd.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf createFontDict: /home/michael/.fonts/gbsn00lp.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold_Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-lyx/eufm10.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-lyx/wasy10.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Impact.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-BoldOblique.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Georgia.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf createFontDict: /usr/share/fonts/truetype/ttf-lyx/msbm10.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/andalemo.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/arialbi.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Verdana.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-BoldItalic.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Oblique.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/cour.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenR102.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraBI.ttf createFontDict: /home/michael/.fonts/Ubuntu-R.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldItalic.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/courbd.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Bold.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationSerif-Bold.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Courier_New.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/comicbd.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/courbi.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/times.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Verdana_Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-BoldItalic.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenAR102.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/couri.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgia.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebuc.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraIt.ttf createFontDict: /usr/share/fonts/truetype/arphic/bsmi00lp.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeSansBold.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMono.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdanaz.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgiai.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS_Bold.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Georgia_Italic.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Courier_New_Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenI102.ttf createFontDict: /home/michael/.fonts/gkai00mp.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-BoldItalic.ttf createFontDict: /home/michael/.fonts/Ubuntu-B.ttf createFontDict: /usr/share/fonts/truetype/ttf-lyx/esint10.ttf createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmsy10.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/ariblk.ttf createFontDict: /usr/share/fonts/truetype/openoffice/opens___.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Verdana_Bold_Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasR.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed-Italic.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial_Black.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Webdings.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Verdana_Bold.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial_Italic.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeSans.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasB.ttf createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmr10.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/ariali.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebucbi.ttf createFontDict: /home/michael/.fonts/Ubuntu-BI.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeMono.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/timesi.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBI.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/georgiaz.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Courier_New_Bold_Italic.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/arialbd.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/timesbd.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Bold.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Italic.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdana.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/arial.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeMonoOblique.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/comic.ttf createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraSe.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/webdings.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium/GenAI102.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebucit.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-Regular.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBkBasBI.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/timesbi.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS.ttf createFontDict: /usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Arial_Bold_Italic.ttf createFontDict: /usr/share/fonts/truetype/ttf-sil-gentium-basic/GenBasBI.ttf createFontDict: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSerifCondensed.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationMono-BoldItalic.ttf createFontDict: /home/michael/.fonts/wqy-zenhei.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/impact.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/verdanab.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Trebuchet_MS_Bold_Italic.ttf createFontDict: /usr/share/fonts/truetype/arphic/gkai00mp.ttf createFontDict: /usr/share/fonts/truetype/ttf-lyx/msam10.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/trebucbd.ttf createFontDict: /usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf createFontDict: /usr/share/fonts/truetype/ttf-liberation/LiberationSans-Regular.ttf createFontDict: /home/michael/.fonts/Ubuntu-I.ttf createFontDict: /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold.ttf createFontDict: /usr/share/fonts/truetype/ttf-lyx/cmex10.ttf createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvl8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pzcmi8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplb8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putbi8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvro8an.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkd8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncri8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrb8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvr8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putb8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncb8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrro8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmex10.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmtt10.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvr8an.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvro8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmr8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplbi8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmsy10.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagk8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrr8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmmi10.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagko8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkdi8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/cmr10.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagdo8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmb8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvlo8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvb8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pzdr.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmri8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplr8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkl8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncbi8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/psyr.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putri8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pplri8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/ptmbi8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pbkli8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/putr8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pagd8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pncr8a.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8an.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/phvb8an.afm createFontDict: /usr/share/matplotlib/mpl-data/fonts/afm/pcrbo8a.afm createFontDict: /home/michael/.fonts/kai26.afm Traceback (most recent call last): File "/usr/bin/ipython", line 28, in <module> IPython.Shell.start().mainloop() File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1241, in start return shell(user_ns = user_ns) File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1106, in __init__ shell_class=MatplotlibShell) File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 73, in __init__ debug=debug,shell_class=shell_class) File "/usr/lib/pymodules/python2.6/IPython/ipmaker.py", line 100, in make_IPython embedded=embedded,**kw) File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 627, in __init__ user_ns,user_global_ns,b2 = self._matplotlib_config(name,user_ns,user_global_ns) File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 556, in _matplotlib_config import matplotlib.pylab as pylab File "/usr/lib/pymodules/python2.6/matplotlib/pylab.py", line 206, in <module> from matplotlib import mpl # pulls in most modules File "/usr/lib/pymodules/python2.6/matplotlib/mpl.py", line 2, in <module> from matplotlib import axis File "/usr/lib/pymodules/python2.6/matplotlib/axis.py", line 10, in <module> import matplotlib.font_manager as font_manager File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line 1301, in <module> _rebuild() File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line 1292, in _rebuild fontManager = FontManager() File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line 1010, in __init__ self.afmlist = createFontList(self.afmfiles, fontext='afm') File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line 578, in createFontList font = afm.AFM(fh) File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 303, in __init__ parse_afm(fh) File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 291, in parse_afm dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh) File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 176, in _parse_char_metrics bbox = _to_list_of_floats(vals[3][2:]) File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 58, in _to_list_of_floats return [_to_float(val) for val in s.split()] ValueError: invalid literal for float(): uni2605 ================================================================================================================================================= *The fpath value is * /usr/share/matplotlib/mpl-data/fonts/afm/phvl8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pzcmi8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pplb8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/putbi8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/phvro8an.afm /usr/share/matplotlib/mpl-data/fonts/afm/pbkd8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pncri8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pcrb8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/phvr8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/putb8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pncb8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pcrro8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/cmex10.afm /usr/share/matplotlib/mpl-data/fonts/afm/cmtt10.afm /usr/share/matplotlib/mpl-data/fonts/afm/phvr8an.afm /usr/share/matplotlib/mpl-data/fonts/afm/phvro8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/ptmr8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pplbi8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/cmsy10.afm /usr/share/matplotlib/mpl-data/fonts/afm/pagk8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pcrr8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/cmmi10.afm /usr/share/matplotlib/mpl-data/fonts/afm/pagko8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pbkdi8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/cmr10.afm /usr/share/matplotlib/mpl-data/fonts/afm/pagdo8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/ptmb8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/phvlo8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/phvb8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pzdr.afm /usr/share/matplotlib/mpl-data/fonts/afm/ptmri8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pplr8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pbkl8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pncbi8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/psyr.afm /usr/share/matplotlib/mpl-data/fonts/afm/putri8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pplri8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/ptmbi8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pbkli8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/putr8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pagd8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/pncr8a.afm /usr/share/matplotlib/mpl-data/fonts/afm/phvbo8an.afm /usr/share/matplotlib/mpl-data/fonts/afm/phvb8an.afm /usr/share/matplotlib/mpl-data/fonts/afm/pcrbo8a.afm --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Hopefully, this info can help to pinpoint the difficult font file. Thanks for your help! Daoliang On Fri, Nov 26, 2010 at 9:54 AM, Daoliang Tan <dao...@gm...> wrote: > Dear all, > > I am facing a weird problem when I import pylab or pyplot modules. > Right now, I can successfully import matplotlib. But after I issue > the command "ipython -pylab --verbose-helpful", I get the following > error: > ================================================================================================================================================= > $HOME=/home/michael > CONFIGDIR=/home/michael/.matplotlib > matplotlib data path /usr/share/matplotlib/mpl-data > loaded rc file /etc/matplotlibrc > matplotlib version 0.99.3 > verbose.level helpful > interactive is False > units is False > platform is linux2 > font search path ['/usr/share/matplotlib/mpl-data/fonts/ttf', > '/usr/share/matplotlib/mpl-data/fonts/afm'] > Traceback (most recent call last): > File "/usr/bin/ipython", line 28, in <module> > IPython.Shell.start().mainloop() > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1241, in start > return shell(user_ns = user_ns) > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 1106, in __init__ > shell_class=MatplotlibShell) > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 73, in __init__ > debug=debug,shell_class=shell_class) > File "/usr/lib/pymodules/python2.6/IPython/ipmaker.py", line 100, in > make_IPython > embedded=embedded,**kw) > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 627, in __init__ > user_ns,user_global_ns,b2 = > self._matplotlib_config(name,user_ns,user_global_ns) > File "/usr/lib/pymodules/python2.6/IPython/Shell.py", line 556, in > _matplotlib_config > import matplotlib.pylab as pylab > File "/usr/lib/pymodules/python2.6/matplotlib/pylab.py", line 206, in <module> > from matplotlib import mpl # pulls in most modules > File "/usr/lib/pymodules/python2.6/matplotlib/mpl.py", line 2, in <module> > from matplotlib import axis > File "/usr/lib/pymodules/python2.6/matplotlib/axis.py", line 10, in <module> > import matplotlib.font_manager as font_manager > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > 1301, in <module> > _rebuild() > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > 1292, in _rebuild > fontManager = FontManager() > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > 1010, in __init__ > self.afmlist = createFontList(self.afmfiles, fontext='afm') > File "/usr/lib/pymodules/python2.6/matplotlib/font_manager.py", line > 578, in createFontList > font = afm.AFM(fh) > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 303, in __init__ > parse_afm(fh) > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 291, in parse_afm > dcmetrics_ascii, dcmetrics_name = _parse_char_metrics(fh) > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 176, in > _parse_char_metrics > bbox = _to_list_of_floats(vals[3][2:]) > File "/usr/lib/pymodules/python2.6/matplotlib/afm.py", line 58, in > _to_list_of_floats > return [_to_float(val) for val in s.split()] > ValueError: invalid literal for float(): uni2605 > =========================================================================================================================================== > > Each time, as long as I import pylab OR pyplot, I will obtain > "ValueError: invalid literal for float(): uni2605". After googling a > long time, I can not get an idea to address this issue. Can anyone > give me some hints? > > My computer configuration is the following: > > 1. OS: debian squeeze Linux 2.6.32-5-amd64 #1 SMP Sat Oct 30 14:18:21 > UTC 2010 x86_64 GNU/Linux > 2. matplotlib version: 0.99.3 > 3. The matplotlib is installed from the debian repository. > 4. no any special customization of "matplotlibrc" > 5. import pylab will produce this error. > 6. python version: 2.6.6-3 > > > I have reinstalled these packages many times and this does not solve > this issue. > > Thanks for your help! > > Daoliang > |
From: Benjamin R. <ben...@ou...> - 2010-12-04 03:29:57
|
On Fri, Dec 3, 2010 at 8:34 PM, K. Larsen <kr...@gm...> wrote: > The LTSpice circuit simulation program outputs a file that looks like this: > > Freq. V(n003) V(n005) V(n007) > 1.00000e+000 (-1.68072e+002dB,1.79085e+002°) > (-1.71453e-006dB,-3.60000e-002°) (-8.40364e+001dB,8.99964e+001°) > 1.07177e+000 (-1.66868e+002dB,1.79145e+002°) > (-1.96947e-006dB,-3.85838e-002°) (-8.34343e+001dB,8.99961e+001°) > 1.14870e+000 (-1.65664e+002dB,1.79202e+002°) > (-2.26233e-006dB,-4.13531e-002°) (-8.28323e+001dB,8.99959e+001°) > ... > > Complicated text file formats like this can be a mess to deal with. One trick I do to simplify the problem is to (if the files are not large) load an entire file into a string and replace any un-needed characters with whitespace. So, replacing the '"', 'dB', '(', ')', and ',' with a space would yield: 1.00000e+000 -1.68072e+002 1.79085e+002 -1.71453e-006 -3.60000e-002 -8.40364e+001 8.99964e+001 1.07177e+000 -1.66868e+002 1.79145e+002 -1.96947e-006 -3.85838e-002 -8.34343e+001 8.99961e+001 1.14870e+000 -1.65664e+002 1.79202e+002 -2.26233e-006 -4.13531e-002 -8.28323e+001 8.99959e+001 Which could be put into a StringIO object, and then fed into numpy.loadtxt() function to get your numpy arrays. Does that help? Ben Root |
From: K. L. <kr...@gm...> - 2010-12-04 02:34:19
|
The LTSpice circuit simulation program outputs a file that looks like this: Freq. V(n003) V(n005) V(n007) 1.00000e+000 (-1.68072e+002dB,1.79085e+002°) (-1.71453e-006dB,-3.60000e-002°) (-8.40364e+001dB,8.99964e+001°) 1.07177e+000 (-1.66868e+002dB,1.79145e+002°) (-1.96947e-006dB,-3.85838e-002°) (-8.34343e+001dB,8.99961e+001°) 1.14870e+000 (-1.65664e+002dB,1.79202e+002°) (-2.26233e-006dB,-4.13531e-002°) (-8.28323e+001dB,8.99959e+001°) ... As can be seen there are 4 tab-delimited columns. The first column is the dependent (horizontal) axis and represents Frequency. The following 3 columns each contain 2 comma-delimited data points including their units. These are the magnitude expressed in decibels and the phase expressed in degrees. I'd like to be able to plot this file. 6 separate plots should result, or 3 pairs of 2 waveforms that share the same plot yet have 2 different axes. What is the best method to accomplish this? -Kameron |
From: C M <cmp...@gm...> - 2010-12-04 01:50:13
|
On Fri, Dec 3, 2010 at 8:10 PM, C M <cmp...@gm...> wrote: > > > Hello. I've decided to upgrade to matplotlib 1.0, but I'll need to fix a >> few problems that have come up. I was hoping I could get some help on this >> here. >> > > Second problem: the grid background is gone despite these lines are not > throwing any errors (here, self.subplot is an axis): > > self.subplot.grid(True) > self.subplot.grid(color='0.75', linestyle='dotted', linewidth=0.1) > > I searched the docs for grid and so far haven't found the change. What is > the right method now? > Ack, sorry for the noise. That does work (and I don't need the first line). It is just that the lines are so fine/faint now that I couldn't see them lines until I tilted the monitor and looked carefully. I'm guessing the change was because previous to mpl 1.0 a linewidth of 0.1 was below some minimal value and was treated as though it were 1? In any case, using linewidth=1 looks reasonable for me now. -cm |
From: C M <cmp...@gm...> - 2010-12-04 01:10:42
|
Hello. I've decided to upgrade to matplotlib 1.0, but I'll need to fix a > few problems that have come up. I was hoping I could get some help on this > here. > Second problem: the grid background is gone despite these lines are not throwing any errors (here, self.subplot is an axis): self.subplot.grid(True) self.subplot.grid(color='0.75', linestyle='dotted', linewidth=0.1) I searched the docs for grid and so far haven't found the change. What is the right method now? Thanks, Che |
From: Goyo <goy...@gm...> - 2010-12-04 00:23:52
|
2010/12/3 Justin McCann <jn...@gm...>: > On Wed, Dec 1, 2010 at 11:58 AM, Justin McCann <jn...@gm...> wrote: > This seems to do the trick, but might be a bit too clever. I'm not > sure if get_children() (or findobjs) is the right call to retrieve all > the plot elements. If you are just looking for line2D instances then use ax.get_lines(). Goyo |
From: Benjamin R. <ben...@ou...> - 2010-12-03 22:20:16
|
On Thu, Dec 2, 2010 at 11:22 AM, Burak TUYSUZ <bur...@gm...> wrote: > Hi all, > I am plotting a 3d surface but at the axis scientific notation works > but I can not see the exponential part at the end of the axis. > I mean it does simplifies > 9.9*e^5 15*e^5 ... > to > 9.9 15 > but there is no e^5 at the end of the axis that you need to multiply each > value > I am tired of manually adding that to the plots. How can I automatically > add the divider to the top of each axis. > Thank you in advance > -Burak > > Here is the code > > > formatter = ScalarFormatter(useMathText=True, useOffset=True) > formatter.set_scientific(True) > > fig = plt.figure(figsize=(21,9.5)) > ax = fig.add_subplot(1,2,1, projection='3d', azim=180) > ax.set_xlabel('Doppler') > ax.set_ylabel('Delay') > ax.set_zlabel('') > > ax.w_xaxis.set_major_formatter(formatter) > ax.w_yaxis.set_major_formatter(formatter) > > Burak, I can confirm your bug. I have traced it down and it appears that printing the offset text (the 'e^5') is not even implemented. I will look into seeing how to implement this in mplot3d. Ben Root |