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
(35) |
2
(15) |
3
(16) |
4
(3) |
5
(1) |
|
6
(1) |
7
(11) |
8
(10) |
9
(13) |
10
(24) |
11
(21) |
12
(10) |
|
13
(2) |
14
(24) |
15
(20) |
16
(36) |
17
(13) |
18
(6) |
19
(4) |
|
20
(2) |
21
(11) |
22
(13) |
23
(7) |
24
(10) |
25
(7) |
26
(12) |
|
27
(2) |
28
(6) |
29
(20) |
30
(9) |
31
(39) |
|
|
|
From: Simon <sim...@we...> - 2008-07-01 23:00:28
|
Hello Admins of matplotlib-users,
just now - after I wrote you - I found the solution in your mailing
list... hmmm
for the case anybody is interessted: You have to add
ax_p.set_ylim(ax_p.get_ylim()[::-1])
to get an inverse scaling on an y-axis.
The solution is from Eric Firing and to cite him: "The method in line 3
should work on new and old versions of matplotlib.
The basic idea is that when axis limits are set, you specify the bottom,
then the top (or the right, then the left), not min and then max."
Sorry for being to late with my own work of research (I will surely be
back another time ;-) ).
greetings,
Simon
Simon schrieb:
> Hello to everybody,
>
> since I looked serveral days in vain to find a solution to my problem,
> I would like to ask you for help!
>
> Problem:
> I want to plot at least three timeseries in one chart. Two timeseries
> are to be plotted as lines in a normal scale. The third timeseries (in
> my case these are precipitation-mesurements) are to be plotted as bars
> and - now the problem occurs... - this third timeseries should be
> scaled inversely from the top. In openoffice-Calc this function is
> called "reverse direction" at the scaling properties of the y-axis,
> even excel can handle that - so I am quite confident that matplotlib
> will do so, too. I just have no idea how...
>
> Do you know how to scale an y-axis inversely (or 'reversly')?
>
> Thank you for your help,
> Simon
>
>
>
>
> ps - here's my demo, perhaps it helps understanding...
>
> #############################
> import datetime, scipy
> from pylab import *
>
>
> # creating dates
> date1 = datetime.date( 1982, 1, 1 )
> date2 = datetime.date( 1982, 2, 1 )
> date3 = datetime.date( 1982, 3, 1 )
> date4 = datetime.date( 1982, 4, 1 )
>
> dates = scipy.array([date1, date2, date3, date4])
>
> # creating some dummy-data
> f1 = [1,5,3,4] # could be a simulated discharge
> f2 = [2,5,4,5] # could be an observed discharge
> f3 = [45, 36, 53, 21] # could be precipitation
>
>
> figure()
>
> # creating two x-axes in one plot
> ax_q = axes()
> ax_p=twinx()
>
> # plotting 'discharges'
> ax_q.plot(dates, f2, 'g-', dates, f1, 'b--')
> # plotting 'precipitation'
> ax_p.bar(date2num(dates), f3, width=5, bottom=0)
>
> # doing some scaling on the x-axis
> months = MonthLocator(range(1,13), bymonthday=1)
> monthfmt = DateFormatter("%b '%y")
> ax_q.xaxis.set_major_locator(months)
> ax_q.xaxis.set_major_formatter(monthfmt)
>
>
> # scaling 'discharge' on the left and 'precipitation' on the right y-axis
> ax_q.yaxis.tick_left()
> ax_p.yaxis.tick_right()
>
> # some other scaling ...
> ax_q.yaxis.set_major_locator(MultipleLocator(5) )
>
>
> show()
> ##########################################
>
|
|
From: Orest K. <ore...@gm...> - 2008-07-01 18:52:28
|
The following code fails with a math range error:
from pylab import *
plot(arange(5), 'ro')
xscale('symlog')
The traceback indicates that the ticker is attempting to treat vmin
(which falls inside the "linear" portion of the SymLog scale) as a log
value, which obviously fails when vmin=0. If vmin is less than zero,
then everything works fine. For example the following works.
from pylab import *
plot(arange(-1,5) ,'ro')
xscale('symlog')
Traceback for the first example is as follows:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\pyplot.py", line 824, in xscale
ret = ax.set_xscale(*args, **kwargs)
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\axes.py", line 1773, in set_xscale
self.autoscale_view()
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\axes.py", line 1400, in autoscale_view
XL = self.xaxis.get_major_locator().autoscale()
File "c:\programs\Python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\ticker.py", line 1114, in autoscale
if not is_decade(abs(vmin), b):
File "c:\programs\Python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\ticker.py", line 960, in is_decade
lx = math.log(x)/math.log(base)
OverflowError: math range error
Orest
|
|
From: Orest K. <ore...@gm...> - 2008-07-01 18:39:48
|
When I try to run symlog_demo.py in version 98.1, I get the following
AssertionError. Should __call__ of the SymmetricalLogLocator be
calling transform on vmin and vmax separately? Any advice?
Thanks,
Orest
$ python symlog_demo.py
c:\programs\Python25\lib\site-packages\pytz-2007k-py2.5.egg\pytz\__init__.py:29:
UserWarning: Module dateutil was already imported from c:\programs\Python25\lib
\site-packages\python_dateutil-1.3-py2.5.egg\dateutil\__init__.pyc, but c:\progr
ams\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg is being added
to sys.path
c:\programs\Python25\lib\site-packages\pytz-2007k-py2.5.egg\pytz\__init__.py:29:
UserWarning: Module pytz was already imported from c:\programs\Python25\lib\sit
e-packages\pytz-2007k-py2.5.egg\pytz\__init__.py, but c:\programs\python25\lib\s
ite-packages\matplotlib-0.98.1-py2.5-win32.egg is being added to sys.path
Traceback (most recent call last):
File "symlog_demo.py", line 28, in <module>
savefig('symlog_demo')
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\pyplot.py", line 286, in savefig
return fig.savefig(*args, **kwargs)
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\figure.py", line 1014, in savefig
self.canvas.print_figure(*args, **kwargs)
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\backend_bases.py", line 1287, in print_figure
**kwargs)
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\backends\backend_agg.py", line 300, in print_png
FigureCanvasAgg.draw(self)
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\backends\backend_agg.py", line 256, in draw
self.figure.draw(self.renderer)
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\figure.py", line 832, in draw
for a in self.axes: a.draw(renderer)
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\axes.py", line 1482, in draw
a.draw(renderer)
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\axis.py", line 712, in draw
for tick, loc, label in self.iter_ticks():
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\axis.py", line 654, in iter_ticks
majorLocs = self.major.locator()
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\ticker.py", line 1080, in __call__
vmin, vmax = self._transform.transform_point((vmin, vmax))
File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg
\matplotlib\transforms.py", line 1072, in transform_point
assert len(point) == self.input_dims
AssertionError
|
|
From: sordnay <so...@gm...> - 2008-07-01 17:45:25
|
I've submited the bug, I also tried to think about a solution, but this is not trivial at all for me hehe, I'm still learning how to use this wonderful piece of software (thank you all who did developed it btw) I think figure should simply call _pylab_helpers.Gcf.set_active(figManager) whenever a figure is clicked, but I just don't now how or where a figure "knows" that it's been clicked. John Hunter-4 wrote: > > On Sun, Jun 29, 2008 at 3:40 PM, Vincent Noel <vin...@gm...> > wrote: > >> in Matlab, gcf() returns a handle to the last activated figure, either >> by click or programmatically (e.g. "figure(1)", etc) > > OK, then it's a bug. Could you file a bug report on the sf bug tracker > > http://sourceforge.net/tracker/?group_id=80706&atid=560720 > > since I don't have time to fix this right now but don't want to forget > about it? > > Thanks, > JDH > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- View this message in context: http://www.nabble.com/gcf%28%29-problem-tp18184245p18221506.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Simon <sim...@we...> - 2008-07-01 17:01:49
|
Hello to everybody,
since I looked serveral days in vain to find a solution to my problem, I
would like to ask you for help!
Problem:
I want to plot at least three timeseries in one chart. Two timeseries
are to be plotted as lines in a normal scale. The third timeseries (in
my case these are precipitation-mesurements) are to be plotted as bars
and - now the problem occurs... - this third timeseries should be scaled
inversely from the top. In openoffice-Calc this function is called
"reverse direction" at the scaling properties of the y-axis, even excel
can handle that - so I am quite confident that matplotlib will do so,
too. I just have no idea how...
Do you know how to scale an y-axis inversely (or 'reversly')?
Thank you for your help,
Simon
ps - here's my demo, perhaps it helps understanding...
#############################
import datetime, scipy
from pylab import *
# creating dates
date1 = datetime.date( 1982, 1, 1 )
date2 = datetime.date( 1982, 2, 1 )
date3 = datetime.date( 1982, 3, 1 )
date4 = datetime.date( 1982, 4, 1 )
dates = scipy.array([date1, date2, date3, date4])
# creating some dummy-data
f1 = [1,5,3,4] # could be a simulated discharge
f2 = [2,5,4,5] # could be an observed discharge
f3 = [45, 36, 53, 21] # could be precipitation
figure()
# creating two x-axes in one plot
ax_q = axes()
ax_p=twinx()
# plotting 'discharges'
ax_q.plot(dates, f2, 'g-', dates, f1, 'b--')
# plotting 'precipitation'
ax_p.bar(date2num(dates), f3, width=5, bottom=0)
# doing some scaling on the x-axis
months = MonthLocator(range(1,13), bymonthday=1)
monthfmt = DateFormatter("%b '%y")
ax_q.xaxis.set_major_locator(months)
ax_q.xaxis.set_major_formatter(monthfmt)
# scaling 'discharge' on the left and 'precipitation' on the right y-axis
ax_q.yaxis.tick_left()
ax_p.yaxis.tick_right()
# some other scaling ...
ax_q.yaxis.set_major_locator(MultipleLocator(5) )
show()
##########################################
|
|
From: Gideon S. <gr...@co...> - 2008-07-01 15:16:23
|
matplotlib itself seems to work, in the sense that it makes figures and puts the lines in the right places. however, that error is still showing up if i go to help() then modules On Jul 1, 2008, at 11:01 AM, John Hunter wrote: > On Tue, Jul 1, 2008 at 9:14 AM, Gideon Simpson > <gr...@co...> wrote: > >> python -c 'import matplotlib; print matplotlib.__file__' >> python simple_plot.py --verbose-debug >& run.out\ > > There was no traceback in run.out -- does this mean everything is > working for you now? > > JDH |
|
From: John H. <jd...@gm...> - 2008-07-01 15:01:52
|
On Tue, Jul 1, 2008 at 9:14 AM, Gideon Simpson <gr...@co...> wrote: > python -c 'import matplotlib; print matplotlib.__file__' > python simple_plot.py --verbose-debug >& run.out\ There was no traceback in run.out -- does this mean everything is working for you now? JDH |
|
From: Alan G I. <ai...@am...> - 2008-07-01 14:25:54
|
On Tue, 1 Jul 2008, Mark Bakker apparently wrote: > It works fine in my Firefox 3, but I also need it in some > presentation software (Powerpoint, OpenOffice Impress). > Anybody know how that is going? Use it and they will come. ;-) FireFox and Opera currently support APNG. It is hard to imagine that OpenOffice will not soon support it. It is hard to imagine that MSOffice will soon support it. What is really needed is PDF support. Comment: depending on your presentation needs, you might be able to use S5 and FireFox. <URL:http://meyerweb.com/eric/tools/s5/> Note that there is an reST writer to S5, which is convenient and cool. That would allow you to use APNGs in your presentations. Cheers, Alan Isaac |
|
From: Gideon S. <gr...@co...> - 2008-07-01 14:14:53
|
> grep CONFIG lib/matplotlib/__init__.py
NEWCONFIG = False
MPLCONFIGDIR environment variable
configdir = os.environ.get('MPLCONFIGDIR')
raise RuntimeError('Could not write to
MPLCONFIGDIR="%s"'%configdir)
raise RuntimeError("'%s' is not a writable dir; you must
set %s/.matplotlib to be a writable dir. You can also set environment
variable MPLCONFIGDIR to any writable directory where you want
matplotlib data stored "% (h, h))
raise RuntimeError("Failed to create %s/.matplotlib;
consider setting MPLCONFIGDIR to a writable directory for matplotlib
configuration data"%h)
get_configdir = verbose.wrap('CONFIGDIR=%s', _get_configdir,
always=False)
if NEWCONFIG:
> python -c 'import matplotlib; print matplotlib.__file__'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named matplotlib
> cat setup.cfg
I have no setup.cfg
> sudo python setup.py install --prefix=/opt >& build.out
> python -c 'import matplotlib; print matplotlib.__file__'
/opt/lib/python2.5/site-packages/matplotlib/__init__.pyc
> python simple_plot.py --verbose-debug >& run.out
On Jul 1, 2008, at 9:50 AM, John Hunter wrote:
> On Tue, Jul 1, 2008 at 8:22 AM, Gideon Simpson
> <gr...@co...> wrote:
>> gideon@pylab_examples$ python simple_plot.py --verbose-debug
>> >>run.out
>>
>> $HOME=/Users/gideon
>
> I'm a bit stumped. I'd like to see the following shell output of a
> clean build and install -- could you run these and paste the entire
> shell session as well as the build.out and run.out files? Hopefully
> we can crack this nut!
>
> cd ~/mpl # or whatever your src dir is
> rm -rf build
> sudo rm -rf /opt/lib/python2.5/site-packages/matplotlib*
> grep CONFIG lib/matplotlib/__init__.py
> python -c 'import matplotlib; print matplotlib.__file__'
> cat setup.cfg
> sudo python setup.py install --prefix=/opt >& build.out
> cd examples/pylab_examples/
> python -c 'import matplotlib; print matplotlib.__file__'
> python simple_plot.py --verbose-debug >& run.out
|
|
From: John H. <jd...@gm...> - 2008-07-01 13:50:03
|
On Tue, Jul 1, 2008 at 8:22 AM, Gideon Simpson <gr...@co...> wrote: > gideon@pylab_examples$ python simple_plot.py --verbose-debug >>run.out > > $HOME=/Users/gideon I'm a bit stumped. I'd like to see the following shell output of a clean build and install -- could you run these and paste the entire shell session as well as the build.out and run.out files? Hopefully we can crack this nut! cd ~/mpl # or whatever your src dir is rm -rf build sudo rm -rf /opt/lib/python2.5/site-packages/matplotlib* grep CONFIG lib/matplotlib/__init__.py python -c 'import matplotlib; print matplotlib.__file__' cat setup.cfg sudo python setup.py install --prefix=/opt >& build.out cd examples/pylab_examples/ python -c 'import matplotlib; print matplotlib.__file__' python simple_plot.py --verbose-debug >& run.out |
|
From: Gideon S. <gr...@co...> - 2008-07-01 13:36:10
|
### MATPLOTLIBRC FORMAT
# This is a sample matplotlib configuration file - you can find a copy
# of it on your system in
# site-packages/matplotlib/mpl-data/matplotlibrc. If you edit it
# there, please note that it will be overridden in your next install.
# If you want to keep a permanent local bopy that will not be
# over-written, place it in HOME/.matplotlib/matplotlibrc (unix/linux
# like systems) and C:\Documents and Settings\yourname\.matplotlib
# (win32 systems).
#
# This file is best viewed in a editor which supports python mode
# syntax highlighting # Blank lines, or lines starting with a comment
# symbol, are ignored, as are trailing comments. Other lines must
# have the format # key : val # optional comment # Colors: for the
# color values below, you can either use - a matplotlib color string,
# such as r, k, or b - an rgb tuple, such as (1.0, 0.5, 0.0) - a hex
# string, such as ff00ff or #ff00ff - a scalar grayscale intensity
# such as 0.75 - a legal html color name, eg red, blue, darkslategray
#### CONFIGURATION BEGINS HERE
# the default backend; one of GTK GTKAgg GTKCairo CocoaAgg FltkAgg
# QtAgg Qt4Agg TkAgg WX WXAgg Agg Cairo GDK PS PDF SVG Template
backend : GTKAgg
numerix : numpy # numpy, Numeric or numarray
#maskedarray : False # True to use external maskedarray module
# instead of numpy.ma; this is a temporary
# setting for testing maskedarray.
#interactive : False # see http://matplotlib.sourceforge.net/interactive.html
#toolbar : toolbar2 # None | classic | toolbar2
#timezone : UTC # a pytz timezone string, eg US/Central or
Europe/Paris
# Where your matplotlib data lives if you installed to a non-default
# location. This is where the matplotlib fonts, bitmaps, etc reside
#datapath : /home/jdhunter/mpldata
### LINES
# See http://matplotlib.sourceforge.net/matplotlib.lines.html for more
# information on line properties.
#lines.linewidth : 1.0 # line width in points
#lines.linestyle : - # solid line
#lines.color : blue
#lines.marker : None # the default marker
#lines.markeredgewidth : 0.5 # the line width around the marker
symbol
#lines.markersize : 6 # markersize, in points
#lines.dash_joinstyle : miter # miter|round|bevel
#lines.dash_capstyle : butt # butt|round|projecting
#lines.solid_joinstyle : miter # miter|round|bevel
#lines.solid_capstyle : projecting # butt|round|projecting
#lines.antialiased : True # render lines in antialised (no
jaggies)
### PATCHES
# Patches are graphical objects that fill 2D space, like polygons or
# circles. See
# http://matplotlib.sourceforge.net/matplotlib.patches.html for more
# information on patch properties
#patch.linewidth : 1.0 # edge width in points
#patch.facecolor : blue
#patch.edgecolor : black
#patch.antialiased : True # render patches in antialised (no
jaggies)
### FONT
#
# font properties used by text.Text. See
# http://matplotlib.sourceforge.net/matplotlib.font_manager.html for
more
# information on font properties. The 6 font properties used for font
# matching are given below with their default values.
#
# The font.family property has five values: 'serif' (e.g. Times),
# 'sans-serif' (e.g. Helvetica), 'cursive' (e.g. Zapf-Chancery),
# 'fantasy' (e.g. Western), and 'monospace' (e.g. Courier). Each of
# these font families has a default list of font names in decreasing
# order of priority associated with them.
#
# The font.style property has three values: normal (or roman), italic
# or oblique. The oblique style will be used for italic, if it is not
# present.
#
# The font.variant property has two values: normal or small-caps. For
# TrueType fonts, which are scalable fonts, small-caps is equivalent
# to using a font size of 'smaller', or about 83% of the current font
# size.
#
# The font.weight property has effectively 13 values: normal, bold,
# bolder, lighter, 100, 200, 300, ..., 900. Normal is the same as
# 400, and bold is 700. bolder and lighter are relative values with
# respect to the current weight.
#
# The font.stretch property has 11 values: ultra-condensed,
# extra-condensed, condensed, semi-condensed, normal, semi-expanded,
# expanded, extra-expanded, ultra-expanded, wider, and narrower. This
# property is not currently implemented.
#
# The font.size property is the default font size for text, given in
pts.
# 12pt is the standard value.
#
#font.family : sans-serif
#font.style : normal
#font.variant : normal
#font.weight : medium
#font.stretch : normal
# note that font.size controls default text sizes. To configure
# special text sizes tick labels, axes, labels, title, etc, see the rc
# settings for axes and ticks. Special text sizes can be defined
# relative to font.size, using the following values: xx-small, x-small,
# small, medium, large, x-large, xx-large, larger, or smaller
#font.size : 12.0
#font.serif : Bitstream Vera Serif, New Century Schoolbook,
Century Schoolbook L, Utopia, ITC Bookman, Bookman, Nimbus Roman No9
L, Times New Roman, Times, Palatino, Charter, serif
#font.sans-serif : Bitstream Vera Sans, Lucida Grande, Verdana,
Geneva, Lucid, Arial, Helvetica, Avant Garde, sans-serif
#font.cursive : Apple Chancery, Textile, Zapf Chancery, Sand,
cursive
#font.fantasy : Comic Sans MS, Chicago, Charcoal, Impact,
Western, fantasy
#font.monospace : Bitstream Vera Sans Mono, Andale Mono, Nimbus
Mono L, Courier New, Courier, Fixed, Terminal, monospace
### TEXT
# text properties used by text.Text. See
# http://matplotlib.sourceforge.net/matplotlib.text.html for more
# information on text properties
#text.color : black
### LaTeX customizations. See http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex
#text.usetex : False # use latex for all text handling. The
following fonts
# are supported through the usual rc
parameter settings:
# new century schoolbook, bookman,
times, palatino,
# zapf chancery, charter, serif, sans-
serif, helvetica,
# avant garde, courier, monospace,
computer modern roman,
# computer modern sans serif, computer
modern typewriter
# If another font is desired which can
loaded using the
# LaTeX \usepackage command, please
inquire at the
# matplotlib mailing list
#text.latex.unicode : False # use "ucs" and "inputenc" LaTeX packages
for handling
# unicode strings.
#text.latex.preamble : # IMPROPER USE OF THIS FEATURE WILL LEAD TO
LATEX FAILURES
# AND IS THEREFORE UNSUPPORTED. PLEASE DO
NOT ASK FOR HELP
# IF THIS FEATURE DOES NOT DO WHAT YOU
EXPECT IT TO.
# preamble is a comma separated list of
LaTeX statements
# that are included in the LaTeX document
preamble.
# An example:
# text.latex.preamble : \usepackage{bm},
\usepackage{euler}
# The following packages are always
loaded with usetex, so
# beware of package collisions: color,
geometry, graphicx,
# type1cm, textcomp. Adobe Postscript
(PSSNFS) font packages
# may also be loaded, depending on your
font settings
#text.dvipnghack : None # some versions of dvipng don't handle
alpha
# channel properly. Use True to correct
# and flush ~/.matplotlib/tex.cache
# before testing and False to force
# correction off. None will try and
# guess based on your dvipng version
#text.markup : 'plain' # Affects how text, such as titles and
labels, are
# interpreted by default.
# 'plain': As plain, unformatted text
# 'tex': As TeX-like text. Text between $'s will be
# formatted as a TeX math expression.
# This setting has no effect when text.usetex is True.
# In that case, all text will be sent to TeX for
# processing.
# The following settings allow you to select the fonts in math mode.
# They map from a TeX font name to a fontconfig font pattern.
# These settings are only used if mathtext.fontset is 'custom'.
# Note that this "custom" mode is unsupported and may go away in the
# future.
#mathtext.cal : cursive
#mathtext.rm : serif
#mathtext.tt : monospace
#mathtext.it : serif:italic
#mathtext.bf : serif:bold
#mathtext.sf : sans
#mathtext.fontset : cm # Should be 'cm' (Computer Modern), 'stix',
# 'stixsans' or 'custom'
#mathtext.fallback_to_cm : True # When True, use symbols from the
Computer Modern
# fonts when a symbol can not be found in one of
# the custom math fonts.
### AXES
# default face and edge color, default tick sizes,
# default fontsizes for ticklabels, and so on. See
# http://matplotlib.sourceforge.net/matplotlib.axes.html#Axes
#axes.hold : True # whether to clear the axes by default on
#axes.facecolor : white # axes background color
#axes.edgecolor : black # axes edge color
#axes.linewidth : 1.0 # edge linewidth
#axes.grid : False # display grid or not
#axes.titlesize : large # fontsize of the axes title
#axes.labelsize : medium # fontsize of the x any y labels
#axes.labelcolor : black
#axes.axisbelow : False # whether axis gridlines and ticks are
below
# the axes elements (lines, text, etc)
#axes.formatter.limits : -7, 7 # use scientific notation if log10
# of the axis range is smaller than the
# first or larger than the second
#polaraxes.grid : True # display grid on polar axes
### TICKS
# see http://matplotlib.sourceforge.net/matplotlib.axis.html#Ticks
#xtick.major.size : 4 # major tick size in points
#xtick.minor.size : 2 # minor tick size in points
#xtick.major.pad : 4 # distance to major tick label in points
#xtick.minor.pad : 4 # distance to the minor tick label in
points
#xtick.color : k # color of the tick labels
#xtick.labelsize : medium # fontsize of the tick labels
#xtick.direction : in # direction: in or out
#ytick.major.size : 4 # major tick size in points
#ytick.minor.size : 2 # minor tick size in points
#ytick.major.pad : 4 # distance to major tick label in points
#ytick.minor.pad : 4 # distance to the minor tick label in
points
#ytick.color : k # color of the tick labels
#ytick.labelsize : medium # fontsize of the tick labels
#ytick.direction : in # direction: in or out
### GRIDS
#grid.color : black # grid color
#grid.linestyle : : # dotted
#grid.linewidth : 0.5 # in points
### Legend
#legend.isaxes : True
#legend.numpoints : 2 # the number of points in the legend line
#legend.fontsize : large
#legend.pad : 0.2 # the fractional whitespace inside the
legend border
#legend.markerscale : 1.0 # the relative size of legend markers
vs. original
# the following dimensions are in axes coords
#legend.labelsep : 0.010 # the vertical space between the legend
entries
#legend.handlelen : 0.05 # the length of the legend lines
#legend.handletextsep : 0.02 # the space between the legend line and
legend text
#legend.axespad : 0.02 # the border between the axes and
legend edge
#legend.shadow : False
### FIGURE
# See http://matplotlib.sourceforge.net/matplotlib.figure.html#Figure
#figure.figsize : 8, 6 # figure size in inches
#figure.dpi : 80 # figure dots per inch
#figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray
#figure.edgecolor : white # figure edgecolor
# The figure subplot parameters. All dimensions are fraction of the
# figure width or height
#figure.subplot.left : 0.125 # the left side of the subplots of the
figure
#figure.subplot.right : 0.9 # the right side of the subplots of the
figure
#figure.subplot.bottom : 0.1 # the bottom of the subplots of the
figure
#figure.subplot.top : 0.9 # the top of the subplots of the figure
#figure.subplot.wspace : 0.2 # the amount of width reserved for
blank space between subplots
#figure.subplot.hspace : 0.2 # the amount of height reserved for
white space between subplots
### IMAGES
#image.aspect : equal # equal | auto | a number
#image.interpolation : bilinear # see help(imshow) for options
#image.cmap : jet # gray | jet etc...
#image.lut : 256 # the size of the colormap lookup
table
#image.origin : upper # lower | upper
### CONTOUR PLOTS
#contour.negative_linestyle : dashed # dashed | solid
### SAVING FIGURES
# the default savefig params can be different for the GUI backends.
# Eg, you may want a higher resolution, or to make the figure
# background white
#savefig.dpi : 100 # figure dots per inch
#savefig.facecolor : white # figure facecolor when saving
#savefig.edgecolor : white # figure edgecolor when saving
#cairo.format : png # png, ps, pdf, svg
# tk backend params
#tk.window_focus : False # Maintain shell focus for TkAgg
#tk.pythoninspect : False # tk sets PYTHONINSEPCT
# ps backend params
#ps.papersize : letter # auto, letter, legal, ledger, A0-A10,
B0-B10
#ps.useafm : False # use of afm fonts, results in small files
#ps.usedistiller : False # can be: None, ghostscript or xpdf
# Experimental: may produce
smaller files.
# xpdf intended for
production of publication quality files,
# but requires ghostscript,
xpdf and ps2eps
#ps.distiller.res : 6000 # dpi
#ps.fonttype : 3 # Output Type 3 (Type3) or Type 42
(TrueType)
# pdf backend params
#pdf.compression : 6 # integer from 0 to 9
# 0 disables compression (good for debugging)
#pdf.fonttype : 3 # Output Type 3 (Type3) or Type 42
(TrueType)
# svg backend params
#svg.image_inline : True # write raster image data directly into
the svg file
#svg.image_noscale : False # suppress scaling of raster data
embedded in SVG
#svg.embed_char_paths : True # embed character outlines in the
SVG file
# Set the verbose flags. This controls how much information
# matplotlib gives you at runtime and where it goes. The verbosity
# levels are: silent, helpful, debug, debug-annoying. Any level is
# inclusive of all the levels below it. If you setting is debug,
# you'll get all the debug and helpful messages. When submitting
# problems to the mailing-list, please set verbose to helpful or debug
# and paste the output into your report.
#
# The fileo gives the destination for any calls to verbose.report.
# These objects can a filename, or a filehandle like sys.stdout.
#
# You can override the rc default verbosity from the command line by
# giving the flags --verbose-LEVEL where LEVEL is one of the legal
# levels, eg --verbose-helpful.
#
# You can access the verbose instance in your code
# from matplotlib import verbose.
#verbose.level : silent # one of silent, helpful, debug, debug-
annoying
#verbose.fileo : sys.stdout # a log filename, sys.stdout or sys.stderr
On Jul 1, 2008, at 9:33 AM, John Hunter wrote:
> On Tue, Jul 1, 2008 at 8:22 AM, Gideon Simpson
> <gr...@co...> wrote:
>> gideon@pylab_examples$ python simple_plot.py --verbose-debug
>> >>run.out
>>
>> $HOME=/Users/gideon
>> CONFIGDIR=/Users/gideon/.matplotlib
>> matplotlib data path /opt/lib/python2.5/site-packages/matplotlib/mpl-
>> data
>> loaded rc file /opt/lib/python2.5/site-packages/matplotlib/mpl-data/
>> matplotlibrc
>
> This is probably your culprit -- please post the
>
> /opt/lib/python2.5/site-packages/matplotlib/mpl-data/matplotlibrc
>
> file
|
|
From: John H. <jd...@gm...> - 2008-07-01 13:33:51
|
On Tue, Jul 1, 2008 at 8:22 AM, Gideon Simpson <gr...@co...> wrote: > gideon@pylab_examples$ python simple_plot.py --verbose-debug >>run.out > > $HOME=/Users/gideon > CONFIGDIR=/Users/gideon/.matplotlib > matplotlib data path /opt/lib/python2.5/site-packages/matplotlib/mpl- > data > loaded rc file /opt/lib/python2.5/site-packages/matplotlib/mpl-data/ > matplotlibrc This is probably your culprit -- please post the /opt/lib/python2.5/site-packages/matplotlib/mpl-data/matplotlibrc file |
|
From: Gideon S. <gr...@co...> - 2008-07-01 13:22:24
|
gideon@pylab_examples$ python simple_plot.py --verbose-debug >>run.out $HOME=/Users/gideon CONFIGDIR=/Users/gideon/.matplotlib matplotlib data path /opt/lib/python2.5/site-packages/matplotlib/mpl- data loaded rc file /opt/lib/python2.5/site-packages/matplotlib/mpl-data/ matplotlibrc matplotlib version 0.98.2 verbose.level debug interactive is False units is False platform is darwin loaded modules: ['numpy.lib.pkgutil', 'numpy.lib.tempfile', 'numpy.ma.types', 'xml.sax.urlparse', '_sha512', 'matplotlib.errno', 'pylab', '_bisect', 'numpy.core.defchararray', 'pprint', 'numpy.lib.bz2', 'matplotlib.tempfile', 'distutils.sysconfig', 'ctypes._endian', 'encodings.encodings', 'matplotlib.colors', 'numpy.core.numerictypes', 'numpy.testing.sys', 'numpy.core.info', 'xml', 'numpy.fft.types', 'numpy.ma.operator', 'numpy.ma.cPickle', 'distutils', 'pytz.pytz', 'numpy.random.info', 'tempfile', 'mmap', 'xml.sax.urllib', 'numpy.linalg', 'matplotlib.threading', 'numpy.testing.operator', 'imp', 'compiler.sys', 'collections', 'compiler.pyassem', 'numpy.core.umath', '_struct', 'unittest', 'compiler.new', 'numpy.lib.numpy', 'numpy.testing.types', 'compiler.ast', 'numpy.ma.sys', 'matplotlib.matplotlib', 'string', 'matplotlib.cbook', 'numpy.testing.os', 'matplotlib.locale', 'numpy.lib.arraysetops', 'numpy.testing.unittest', 'numpy.lib.inspect', 'encodings.utf_8', 'matplotlib.__future__', 'datetime', 'numpy.ctypeslib', 'numpy.testing.re', 'itertools', 'numpy.version', 'numpy.lib.re', 'distutils.re', 'ctypes.os', 'compiler.token', 'numpy.core.os', 'compiler', 'numpy.lib.type_check', 'httplib', 'bisect', 'signal', 'compiler.consts', 'numpy.lib._datasource', 'random', 'numpy.ma.extras', 'token', 'numpy.fft.fftpack_lite', 'shlex', 'ctypes.ctypes', 'xml.sax.xmlreader', 'matplotlib.pytz', 'numpy.__builtin__', 'numpy.testing.shlex', 'dis', 'pytz.tzfile', 'cStringIO', 'zlib', 'numpy.numpy', 'matplotlib.StringIO', 'numpy.random.mtrand', 'numpy.add_newdocs', 'numpy.lib.getlimits', 'base64', 'compiler.transformer', 'ctypes.gestalt', 'xml.sax.saxutils', 'compiler.struct', 'pkgutil', 'compiler.parser', 'numpy.lib.sys', 'encodings', 'compiler.symbol', 'numpy.lib.io', 'numpy.ma.itertools', 'StringIO', 'dateutil', 'pydoc', 'pytz.cStringIO', 'numpy.imp', 'numpy.ctypes', 'matplotlib.warnings', 'rfc822', 'matplotlib.string', 'struct', 'urllib', 'matplotlib.sys', 're', 'numpy.lib._compiled_base', 'threading', 'numpy.core.mmap', 'new', 'numpy.lib.struct', 'symbol', 'math', 'numpy.fft.helper', 'fcntl', 'numpy.ma.warnings', 'compiler.imp', 'pytz.tzinfo', 'UserDict', 'inspect', 'distutils.os', 'matplotlib', 'urllib2', 'pytz.os', 'fnmatch', 'numpy.lib.info', 'numpy.testing', 'numpy.testing.glob', 'numpy.lib.warnings', 'ctypes.struct', 'codecs', 'numpy.core._sort', 'numpy.os', 'compiler.visitor', 'md5', 'numpy.testing.difflib', 'matplotlib.sre_constants', 'matplotlib.os', 'thread', 'numpy.lib.ufunclike', 'numpy.core.memmap', 'traceback', 'numpy.testing.warnings', 'weakref', 'numpy.core._internal', 'numpy.fft.fftpack', 'opcode', 'numpy.core.scalarmath', 'numpy.linalg.lapack_lite', 'ctypes', 'distutils.sys', 'os', 'marshal', 'sre_parse', 'numpy.lib.shutil', '__future__', 'numpy.core.string', 'matplotlib.copy', 'xml.sax.types', 'numpy.random.numpy', '_sre', 'numpy.lib.gzip', 'numpy.core.sys', 'numpy.random', 'numpy.linalg.numpy', '__builtin__', 'locale', 'numpy.lib.twodim_base', 'numpy.ma.core', 'matplotlib.re', 'numpy.core.cPickle', 'operator', 'numpy.testing.parametric', 'numpy.core.arrayprint', 'distutils.string', 'ctypes._ctypes', '_heapq', 'ctypes.sys', 'matplotlib.datetime', 'posixpath', 'numpy.lib.financial', 'numpy.core.multiarray', 'errno', 'numpy.testing.numpy', '_socket', 'binascii', 'numpy.lib.compiler', 'sre_constants', 'compiler.cStringIO', '_sha256', 'compiler.os', 'matplotlib.md5', 'types', 'pytz.sys', 'tokenize', '_ctypes', 'xml.sax.handler', 'numpy.core.numpy', 'numpy', 'numpy.lib.urlparse', 'matplotlib.dateutil', 'numpy.core.defmatrix', 'xml.sax.os', 'cPickle', 'matplotlib.xml', '_codecs', '_locale', 'matplotlib.traceback', 'numpy.__config__', 'numpy.fft.info', 'numpy.lib.types', 'pytz', 'matplotlib.pyparsing', 'compiler.copy_reg', 'gestalt', 'numpy.ma.numpy', 'copy', 'numpy.core.re', 'socket', '_types', 'numpy.core.fromnumeric', 'hashlib', 'compiler.future', 'numpy.core.copy_reg', 'numpy.lib.scimath', 'numpy.fft', 'numpy.lib', 'compiler.dis', 'posix', 'encodings.aliases', 'matplotlib.fontconfig_pattern', 'exceptions', 'xml.sax._exceptions', 'pytz.bisect', 'numpy.core.cStringIO', 'numpy.core.ctypes', 'mimetools', 'distutils.distutils', 'copy_reg', 'sre_compile', 'xml.sax', 'compiler.compiler', '_hashlib', '_random', 'parser', 'site', 'numpy.lib.polynomial', 'numpy._import_tools', 'numpy.glob', 'zipimport', 'pytz.struct', 'numpy.lib.time', '__main__', 'compiler.misc', 'numpy.core.records', 'shutil', 'numpy.lib.cPickle', 'numpy.sys', 'matplotlib.weakref', 'numpy.lib.pydoc', 'numpy.core._dotblas', 'numpy.testing.traceback', 'strop', 'compiler.pycodegen', 'numpy.core.numeric', 'numpy.linalg.info', 'encodings.codecs', 'gettext', 'pytz.datetime', 'heapq', 'numpy.lib.cStringIO', 'numpy.core', 'numpy.testing.info', 'matplotlib.rcsetup', 'matplotlib.time', 'pytz.sets', 'matplotlib.numpy', 'xml.sax.codecs', 'stat', '_ssl', 'numpy.lib.utils', 'numpy.lib.index_tricks', 'numpy.testing.utils', 'warnings', 'encodings.types', 'numpy.lib.math', 'glob', 'numpy.lib.shape_base', 'numpy.core.types', 'numpy.fft.numpy', 'repr', 'sys', 'numpy.core.warnings', 'numpy.lib.urllib2', 'compiler.types', 'numpy.core.__builtin__', 'xml.sax.sys', 'numpy.lib.format', 'numpy.lib.os', 'numpy.ma', 'os.path', 'bz2', 'pytz.gettext', 'numpy.lib.pprint', 'compiler.symbols', 'sets', 'matplotlib.distutils', '_weakref', 'numpy.testing.numpytest', 'difflib', 'distutils.errors', 'urlparse', 'linecache', 'matplotlib.shutil', 'numpy.lib.function_base', 'numpy.testing.imp', 'time', 'gzip', 'numpy.lib.machar', 'compiler.marshal', 'numpy.linalg.linalg', 'compiler.syntax'] Using fontManager instance from /Users/gideon/.matplotlib/ fontManager.cache numerix numpy 1.1.0 backend GTKAgg version 2.6.3 findfont found Bitstream Vera Sans, normal, normal 400, normal, 12.0 findfont returning /opt/lib/python2.5/site-packages/matplotlib/mpl- data/fonts/ttf/Vera.ttf findfont found Bitstream Vera Sans, normal, normal 400, normal, 14.4 findfont returning /opt/lib/python2.5/site-packages/matplotlib/mpl- data/fonts/ttf/Vera.ttf On Jul 1, 2008, at 9:18 AM, John Hunter wrote: > On Tue, Jul 1, 2008 at 8:13 AM, Gideon Simpson > <gr...@co...> wrote: >> It's already set to False >> >> I've completely blown away my installation, including removing >> ~/.matplotlib, and this problem is still showing up. >> -gideon >> > > Please run a test pylab script with --verbose-debug and post the > output > >> python somefile.py --verbose-debug >> run.out |
|
From: John H. <jd...@gm...> - 2008-07-01 13:18:25
|
On Tue, Jul 1, 2008 at 8:13 AM, Gideon Simpson <gr...@co...> wrote: > It's already set to False > > I've completely blown away my installation, including removing > ~/.matplotlib, and this problem is still showing up. > -gideon > Please run a test pylab script with --verbose-debug and post the output > python somefile.py --verbose-debug >> run.out |
|
From: Gideon S. <gr...@co...> - 2008-07-01 13:14:10
|
It's already set to False I've completely blown away my installation, including removing ~/.matplotlib, and this problem is still showing up. -gideon On Jul 1, 2008, at 7:20 AM, Darren Dale wrote: > In lib/matplotlib/__init__.py, set NEWCONFIG=False and reinstall. > > On Tuesday 01 July 2008 00:02:51 Gideon Simpson wrote: >> Just tried the 0.98.2, and am still getting: >> >> help> modules >> >> Please wait a moment while I gather a list of all available >> modules... >> >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> File "/sw/lib/python2.5/site.py", line 346, in __call__ >> return pydoc.help(*args, **kwds) >> File "/sw/lib/python2.5/pydoc.py", line 1636, in __call__ >> self.interact() >> File "/sw/lib/python2.5/pydoc.py", line 1654, in interact >> self.help(request) >> File "/sw/lib/python2.5/pydoc.py", line 1670, in help >> elif request == 'modules': self.listmodules() >> File "/sw/lib/python2.5/pydoc.py", line 1791, in listmodules >> ModuleScanner().run(callback) >> File "/sw/lib/python2.5/pydoc.py", line 1842, in run >> for importer, modname, ispkg in pkgutil.walk_packages(): >> File "/sw/lib/python2.5/pkgutil.py", line 125, in walk_packages >> for item in walk_packages(path, name+'.', onerror): >> s File "/sw/lib/python2.5/pkgutil.py", line 110, in walk_packages >> __import__(name) >> File "/opt/lib/python2.5/site-packages/matplotlib/config/ >> __init__.py", line 10, in <module> >> from mplconfig import rcParams, mplConfig, save_config, >> rcdefaults >> File "/opt/lib/python2.5/site-packages/matplotlib/config/ >> mplconfig.py", line 486, in <module> >> filePriority=True) >> File "/opt/lib/python2.5/site-packages/matplotlib/config/ >> tconfig.py", line 567, in __init__ >> self.tconf = configClass(self.fconfCombined,monitor=monitor) >> File "/opt/lib/python2.5/site-packages/matplotlib/config/ >> tconfig.py", line 431, in __init__ >> section = v(sec_config,self,monitor=monitor) >> File "/opt/lib/python2.5/site-packages/matplotlib/config/ >> tconfig.py", line 391, in __init__ >> raise TConfigInvalidKeyError(m) >> matplotlib.config.tconfig.TConfigInvalidKeyError: In config defined >> in >> file: '/opt/lib/python2.5/site-packages/matplotlib/mpl-data/ >> matplotlib.conf' >> Error processing section: figure >> These keys are invalid : ['autolayout'] >> Valid key names : ['edgecolor', 'facecolor', 'dpi', 'figsize'] >> >> On Jun 24, 2008, at 10:35 AM, Gideon Simpson wrote: >>> my .matplotlib folder is empty. also, my installation otherwise >>> appears to work. >>> >>> >>> -gideon >>> >>> On Jun 24, 2008, at 10:01 AM, John Hunter wrote: >>>> On Tue, Jun 24, 2008 at 8:27 AM, Gideon Simpson >>>> >>>> <gr...@co...> wrote: >>>>> I built from source. I removed my existing installation of >>>>> matplotlib, but I am still getting the same error. I had not been >>>>> using setup.cfg, but edited the template so that the experimental >>>>> packages were turned off. I am still getting this error. >>>> >>>> Check to see if you have a matplotlibrc file in ~/.matplotlib. If >>>> so, >>>> replace it with the latest one from site-packages/matplotlib/mpl- >>>> data >>>> (or comment out the autolayout line in the one you already have in >>>> ~/.matplotlib). >>>> >>>> Let us know if this works. >>>> >>>> JDH >>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Michael D. <md...@st...> - 2008-07-01 12:12:26
|
Can you be more specific about what you've tried already from the FAQ and how it failed? Cheers, Mike sa6113 wrote: > May I use GTKAgg backend in order to save an animation. > how? please help me. > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: Michael D. <md...@st...> - 2008-07-01 12:11:24
|
I agree with Eric, that it would be probably overextending matplotlib too much to support this natively. However, it might be nice to have a self-contained function that would call out to mencoder or ImageMagick to create an animation from a list of PNGs. That would make it easier to automate the creation of animations directly from matplotlib scripts. Of course, there's nothing stopping anyone from doing that in their own scripts now -- it just might be more convenient and obvious to have it "built in" to matplotlib. I think it's fair to say though that this function should not add any build dependencies, and have only optional runtime dependencies (meaning only if you want to save animations). But it needs someone to take it on, and most importantly be willing to support the numerous platform and installation issues that are likely to arise. Any takers? Mike Eric Firing wrote: > Alan G Isaac wrote: > >> Someone said: >> >>> http://matplotlib.sourceforge.net/faq.html#MOVIE >>> >> OK, this works. >> But might it be a possible goal for Matplotlib to be able >> to assemble these PNGs into an APNG? >> <URL:http://wiki.mozilla.org/APNG_Specification> >> > > I don't think it makes sense for mpl to do this; it seems to me to be > inherently a different sort of operation from plotting, and one that > would be done best by something like gifsicle in a post-processing mode. > > Eric > > >> Until then, this can be done with a FireFox 3 extension: >> <URL:https://addons.mozilla.org/en-US/firefox/addon/5519> >> >> Cheers, >> Alan Isaac >> >> >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: John H. <jd...@gm...> - 2008-07-01 12:03:11
|
On Mon, Jun 30, 2008 at 11:19 PM, Adam Mercer <ram...@gm...> wrote: > Hi > > Has matplotlib-0.98.2 been officially released? The reason I'm asking > is that the web page still states that 0.98.1 is the release and the > 0.98.2 tar ball is under the 0.98.1 release on the sourceforge > download page? We released a source tarball with no announcement because the debian packagers needed a minor change. It contains a couple of bug fixes since 0.98.1 but was not significant enough to ask Charlie to do binary builds. JDH |
|
From: Darren D. <dsd...@gm...> - 2008-07-01 11:20:23
|
In lib/matplotlib/__init__.py, set NEWCONFIG=False and reinstall. On Tuesday 01 July 2008 00:02:51 Gideon Simpson wrote: > Just tried the 0.98.2, and am still getting: > > help> modules > > Please wait a moment while I gather a list of all available modules... > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/sw/lib/python2.5/site.py", line 346, in __call__ > return pydoc.help(*args, **kwds) > File "/sw/lib/python2.5/pydoc.py", line 1636, in __call__ > self.interact() > File "/sw/lib/python2.5/pydoc.py", line 1654, in interact > self.help(request) > File "/sw/lib/python2.5/pydoc.py", line 1670, in help > elif request == 'modules': self.listmodules() > File "/sw/lib/python2.5/pydoc.py", line 1791, in listmodules > ModuleScanner().run(callback) > File "/sw/lib/python2.5/pydoc.py", line 1842, in run > for importer, modname, ispkg in pkgutil.walk_packages(): > File "/sw/lib/python2.5/pkgutil.py", line 125, in walk_packages > for item in walk_packages(path, name+'.', onerror): > File "/sw/lib/python2.5/pkgutil.py", line 110, in walk_packages > __import__(name) > File "/opt/lib/python2.5/site-packages/matplotlib/config/ > __init__.py", line 10, in <module> > from mplconfig import rcParams, mplConfig, save_config, rcdefaults > File "/opt/lib/python2.5/site-packages/matplotlib/config/ > mplconfig.py", line 486, in <module> > filePriority=True) > File "/opt/lib/python2.5/site-packages/matplotlib/config/ > tconfig.py", line 567, in __init__ > self.tconf = configClass(self.fconfCombined,monitor=monitor) > File "/opt/lib/python2.5/site-packages/matplotlib/config/ > tconfig.py", line 431, in __init__ > section = v(sec_config,self,monitor=monitor) > File "/opt/lib/python2.5/site-packages/matplotlib/config/ > tconfig.py", line 391, in __init__ > raise TConfigInvalidKeyError(m) > matplotlib.config.tconfig.TConfigInvalidKeyError: In config defined in > file: '/opt/lib/python2.5/site-packages/matplotlib/mpl-data/ > matplotlib.conf' > Error processing section: figure > These keys are invalid : ['autolayout'] > Valid key names : ['edgecolor', 'facecolor', 'dpi', 'figsize'] > > On Jun 24, 2008, at 10:35 AM, Gideon Simpson wrote: > > my .matplotlib folder is empty. also, my installation otherwise > > appears to work. > > > > > > -gideon > > > > On Jun 24, 2008, at 10:01 AM, John Hunter wrote: > >> On Tue, Jun 24, 2008 at 8:27 AM, Gideon Simpson > >> > >> <gr...@co...> wrote: > >>> I built from source. I removed my existing installation of > >>> matplotlib, but I am still getting the same error. I had not been > >>> using setup.cfg, but edited the template so that the experimental > >>> packages were turned off. I am still getting this error. > >> > >> Check to see if you have a matplotlibrc file in ~/.matplotlib. If > >> so, > >> replace it with the latest one from site-packages/matplotlib/mpl-data > >> (or comment out the autolayout line in the one you already have in > >> ~/.matplotlib). > >> > >> Let us know if this works. > >> > >> JDH > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Darren D. <dsd...@gm...> - 2008-07-01 11:18:16
|
On Tuesday 01 July 2008 04:26:38 sa6113 wrote: > May I use GTKAgg backend in order to save an animation. > how? please help me. Install mencoder and follow the FAQ I pointed out yesterday. |
|
From: Darren D. <dsd...@gm...> - 2008-07-01 10:26:15
|
On Monday 30 June 2008 09:01:48 John Hunter wrote: > On Mon, Jun 30, 2008 at 3:32 AM, Andrea Gavana <and...@gm...> wrote: > > It seems like Michael changes were reverted back to the previous > > behaviour. I have scanned the matplotlib-devel archives and found the > > reason. Even if the message says that text.py is fixed, I still see > > the problem I was having in dashpointlabel.py example using the latest > > text.py from SVN. I am probably missing something... > > The changes that fixed dashpointlabel broke plain-vanilla tick layout, > which also use a TextWithDash. So I temporarily reverted them until > we can get a fix that works with all the examples. This should be fixed now in svn. Darren |
|
From: Mark B. <ma...@gm...> - 2008-07-01 09:30:15
|
I think APNG suppot woudl be very cool. Would it be hard to write a simple Python script that creates an APNG file from a set of PNG files? That would be really killer. Just as important, I was wondering what programs support APNG. It works fine in my Firefox 3, but I also need it in some presentation software (Powerpoint, OpenOffice Impress). Anybody know how that is going? Mark > Date: Tue, 1 Jul 2008 01:41:32 -0400 > From: Alan G Isaac <ai...@am...> > > Someone said: > > http://matplotlib.sourceforge.net/faq.html#MOVIE > > OK, this works. > But might it be a possible goal for Matplotlib to be able > to assemble these PNGs into an APNG? > <URL:http://wiki.mozilla.org/APNG_Specification> > > Until then, this can be done with a FireFox 3 extension: > <URL:https://addons.mozilla.org/en-US/firefox/addon/5519> > > Cheers, > Alan Isaac > > |
|
From: sa6113 <s.p...@gm...> - 2008-07-01 08:26:41
|
May I use GTKAgg backend in order to save an animation. how? please help me. -- View this message in context: http://www.nabble.com/saving-an-animation-using-GTKAgg-backend-tp18211607p18211607.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Lionel R. <lro...@li...> - 2008-07-01 08:20:24
|
Hi, install mencoder :-) sa6113 a écrit : > Unfortuantly this link dosen't help me. > Would be please help me more clear. > > > sa6113 wrote: > >> Thanks for your help but there is a problem while I using this code, it >> raises an error : >> "mencoder" is not recognized as an internal or external command, operable >> program or batch file. >> >> >> >> >> Darren Dale-3 wrote: >> >>> On Monday 30 June 2008 04:18:14 sa6113 wrote: >>> >>>> I want to save an animation in avi format by python code, would you >>>> please >>>> help me to start in this way? >>>> >>> At the FAQ page, http://matplotlib.sourceforge.net/faq.html , there is a >>> section titled "How do I make a movie with matplotlib?" >>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >>> >> > > |
|
From: sa6113 <s.p...@gm...> - 2008-07-01 07:42:17
|
Unfortuantly this link dosen't help me. Would be please help me more clear. sa6113 wrote: > > Thanks for your help but there is a problem while I using this code, it > raises an error : > "mencoder" is not recognized as an internal or external command, operable > program or batch file. > > > > > Darren Dale-3 wrote: >> >> On Monday 30 June 2008 04:18:14 sa6113 wrote: >>> I want to save an animation in avi format by python code, would you >>> please >>> help me to start in this way? >> >> At the FAQ page, http://matplotlib.sourceforge.net/faq.html , there is a >> section titled "How do I make a movie with matplotlib?" >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > > -- View this message in context: http://www.nabble.com/how-to-save-animation-tp18190767p18210974.html Sent from the matplotlib - users mailing list archive at Nabble.com. |