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) |
|
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 >
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
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
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
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
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 >
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
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
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
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
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