SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S
1
2
3
(3)
4
(10)
5
(1)
6
(2)
7
(3)
8
(4)
9
10
(7)
11
(4)
12
(1)
13
(4)
14
15
16
17
(1)
18
(1)
19
(4)
20
(7)
21
(1)
22
(1)
23
(5)
24
(7)
25
(8)
26
(17)
27
(5)
28
29
(3)
30
(10)
31
(7)




Showing 10 results of 10

From: Fernando P. <Fer...@co...> - 2006年01月30日 17:10:49
Darren Dale wrote:
> Thanks Fernando. No, I do NOT want anyone to have to visit CTAN to make this 
> work. I added this when I was considering scaling the fonts in latex. Since I 
> have decided against doing so, fix-cm and scalefnt packages will not be 
> needed after all. cvs reflects the change.
Good, thanks.
> Please tell me though, that the fontenc and textcomp packages ARE included. 
> They are not essential to the changes I made last night, but I think these 
> packages will fix the dvipng problem we had where a few of the glyphs were 
> not properly interpretted on screen and in png output. 
I suspect those are fine, because fix-cm was the only problem I hit, and this 
was on a fresh ubuntu install, with nothing in the way of manual tweaks. But 
it may be a good idea to wait and hear confirmation from users of other TeX 
distros (such as those on win32).
Cheers,
f
From: Darren D. <dd...@co...> - 2006年01月30日 11:50:47
On Monday 30 January 2006 12:47 am, Fernando Perez wrote:
> ! LaTeX Error: File `fix-cm.sty' not found.
[...]
> I grabbed fix-cm by hand from CTAN:
>
> http://www.ctan.org/info?id=fix-cm
>
> and things seem to work now, but I suspect you didn't intend people to have 
> to go fishing into CTAN :)
Thanks Fernando. No, I do NOT want anyone to have to visit CTAN to make this 
work. I added this when I was considering scaling the fonts in latex. Since I 
have decided against doing so, fix-cm and scalefnt packages will not be 
needed after all. cvs reflects the change.
Please tell me though, that the fontenc and textcomp packages ARE included. 
They are not essential to the changes I made last night, but I think these 
packages will fix the dvipng problem we had where a few of the glyphs were 
not properly interpretted on screen and in png output. 
Darren
From: Fernando P. <Fer...@co...> - 2006年01月30日 06:24:44
Hi Ted,
Ted Drain wrote:
> Fernando,
> This looks like you're using the Tk backend. This is one of the problems 
> with trying to use a very common method name in widgets like 
> resize(). Different GUI packages can define it differently. It looks like 
> Tk uses this for it's resize event handling while Gtk and Qt use resize( w, 
> h ) for controlling size and other method names for the event handling like 
> resizeEvent().
> 
> After some digging, I think this looks like it might be a bug (or at least 
> a head ache) in the Tk backend design. In backend_bases.py, there is this 
> code:
[snip detailed look at the problem]
Thanks for the detective work: I was mostly reporting the issue as a TkAgg 
backend user. I certainly hope that the backend developers can use your info 
and track this problem down in a clean manner, as this is obviously broken, 
but I don't know anything about Tk either (I just use it), so I'm afraid I 
won't be the one doing the work :)
Cheers,
f
From: Fernando P. <Fer...@co...> - 2006年01月30日 05:47:34
Darren Dale wrote:
> I just made a big commit to cvs. With these changes, the font.latex.package rc 
> setting is no longer needed, and should be removed from ones personal 
> matplotlibrc file.
I wonder if I'm doing something wrong. I built fresh from CVS on an Ubuntu 
box, nuked my tex.cache directory, and yet a simple plot(range(10)) gives me:
/usr/local/lib/python2.4/site-packages/matplotlib/texmanager.py in 
get_rgba(self=<matplotlib.texmanager.TexManager instance>, tex='0', 
fontsize=12.0, dpi=96.0, rgb=(0, 0, 0))
 385 # force=True to skip cacheing while debugging
 386 pngfile = self.make_png(tex, dpi, force=False)
--> 387 X = readpng(pngfile)
 X = undefined
 global readpng = <built-in method readpng of tuple object at 0x4071318c>
 pngfile = 
'/home/fperez/.matplotlib/tex.cache/f43bbaa78e0a6e5688e327d12df8b9ce_96.png'
 388 vers = self.get_dvipng_version()
 389 #print 'dvipng version', vers
RuntimeError: _image_module::readpng could not open PNG file 
/home/fperez/.matplotlib/tex.cache/f43bbaa78e0a6e5688e327d12df8b9ce_96.png for 
reading
The png is indeed not there at all. Am I missing something? if the png 
didn't get created, shouldn't make_png raise an exception instead?
I tried to compile the latex file by hand, but even that fails:
maqroll[tex.cache]> latex f43bbaa78e0a6e5688e327d12df8b9ce.tex
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)
entering extended mode
(./f43bbaa78e0a6e5688e327d12df8b9ce.tex
LaTeX2e <2001年06月01日>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, iceland
ic, irish, italian, latin, magyar, norsk, norsk, portuges, romanian, russian, s
lovak, slovene, spanish, swedish, turkish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001年04月21日 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/misc/type1cm.sty)
(/usr/share/texmf/tex/latex/psnfss/helvet.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty))
(/usr/share/texmf/tex/latex/psnfss/courier.sty)
! LaTeX Error: File `fix-cm.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name: X
The problem is that fix-cm.sty is NOT part of a standard latex distribution. 
Did you add this yourself? I checked my destkop (Fedora 3 box):
abdul[src]> locate fix-cm
abdul[src]>
I grabbed fix-cm by hand from CTAN:
http://www.ctan.org/info?id=fix-cm
and things seem to work now, but I suspect you didn't intend people to have to 
go fishing into CTAN :)
I'll keep testing and will let you know if I hit any other snags. Thanks a 
lot for all your work!
f
Cheers,
f
From: Darren D. <dd...@co...> - 2006年01月30日 04:55:56
I just made a big commit to cvs. With these changes, the font.latex.package rc 
setting is no longer needed, and should be removed from ones personal 
matplotlibrc file.
I changed the texmanager to read the serif, sans-serif, monospace, and cursive 
rc parameters. It looks until it finds a font that it recognizes, and 
defaults to computer modern.
Here are the currently supported latex fonts:
- serif: Times, Palatino, Bookman, New Century Schoolbook, Charter, Computer 
Modern Roman (Times and Palatino have their own math fonts, the others 
default to computer modern math fonts)
- sans-serif: Helvetica, Avant Garde, Computer Modern Sans Serif (I added 
Avant Garde to the matplotlibrc.template)
- monospace: Courier, Computer Modern Typewriter
- cursive: Zapf Chancery
I've tested all of these, and everything appears to be working. The 
font.family setting is still respected, and cursive is now supported with 
latex, but fantasy is not (raises a warning, defaults to serif). If you use 
the usetex option, please kick the tires and let me know how it goes. Once 
everything is satisfactory, I would like to request a minor version bump, so 
I can update the wiki.
John, I made that change in backend_agg, so it uses the same information as 
texmanager to generate its keys. I decided against scaling the fonts in 
latex. There is a good reason to keep the scaling as it is: smaller 
tex.cache. If I had changed it, I would have had to cache the same text 
multiple times for each new fontsize.
Darren
From: Fernando P. <Fer...@co...> - 2006年01月30日 03:19:52
Hi all,
I'm attaching a set of files which provide very nice arrows functionality. 
This was contributed by Rob Knight, from the biochemistry dept. at the 
University of Colorado, Boulder.
The attachments are:
- arrow_plot: example file to run, which should open a plot window and 
generate a png.
- fancy_arrow: actual module with the functionality, meant for merging into 
matplotlib if you guys like it. Obviously the examples will need to be 
changed once this becomes part of mpl.
- arrow_cgi: example for this as CGI code. This can be seen in action here:
http://bayes.colorado.edu/cgi-bin/arrows/arrow_cgi.py
- a PNG of what the results should look like. I just generated this a minute 
ago on my box, using CVS matplotlib (Rob, it looks fine to me, so the glitches 
you were seeing were either just on your system, or have been fixed in CVS).
Chris Barker was interested in playing with this. I hope either him or others 
can integrate it smoothly into the rest of matplotlib, and that it may 
eventually give us better arrows capabilities than quiver.
Thanks to Rob for putting this code out!
Cheers,
f
From: Ryan K. <rya...@gm...> - 2006年01月30日 02:26:49
I don't see a need for TeX support, especially if it is taking very much ef=
fort.
I agree that font specification could be a little easier.
If a user was concerned with figure fonts matching the body fonts of a
LaTeX document, there should be a clear mapping from matplotlibrc
settings to which package to include in their LaTeX preamble and how
to set up their document.
Other than that, I don't care how its done and would want to make it
as easy as possible for the developer(s).
(Do you realize that it takes me several second of concentrated effort
to type LaTeX instead of latex and I don't really know why I keep
doing it?)
Ryan
On 1/29/06, Fernando Perez <Fer...@co...> wrote:
> Darren Dale wrote:
>
> > The table may not be necessary: I just discovered that we can drop the
> > font.latex.package rc setting, and instead respect the serif,
> > font.sans-serif, cursive and monospace font rc settings.
> >
> > For example, if "times" is first in my font.serif list (or the first on=
e found
> > that latex supports), this command can be run:
> >
> > \renewcommand{\rmdefault}{ptm}
> >
> > but if font.family is cursive in rc, then Zapf Chancery (pzc) is used i=
nstead.
> >
> > Which entry in matplotlibrc should correspond to the computer modern fo=
nts? Is
> > it "serif" for font.serif?
> >
> > Also, I would like to drop support for the tex engine, and focus on lat=
ex
> > only. These font issues we are addressing are beyond my ability (and
> > interest) to support with tex, but they can be handled using the availa=
ble
> > font packages with latex. Objections?
>
> I'm +1 on anything that simplifies this: while the functionality is fanta=
stic,
> the current usability 'leaves to be desired' :). And many thanks for yo=
ur
> combined efforts on this problem!
>
> Best,
>
> f
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Eric F. <ef...@ha...> - 2006年01月30日 01:18:28
All,
CVS now has some changes that need testing:
1) ticker.AutoLocator is using a new MaxNLocator originating in a 
suggested algorithm by Rob Knight. I don't expect it to do *exactly* 
what the original AutoLocator does, but it should be similar, and about 
as good. If so, then in the future it will facilitate better control of 
the number of ticks on an axis. Please try it with your most 
pathological axis examples as well as normal use cases. You can test it 
with any plot command, because AutoLocator is used by default.
2) The MaxNLocator is now used in contour to select the contour levels 
when they are not given explicitly. Previously the levels would be 
linearly distributed between the data extremes; now they land on nice 
values, like "0.0" instead of "0.1379".
Eric
From: Fernando P. <Fer...@co...> - 2006年01月30日 00:27:19
Darren Dale wrote:
> The table may not be necessary: I just discovered that we can drop the 
> font.latex.package rc setting, and instead respect the serif, 
> font.sans-serif, cursive and monospace font rc settings. 
> 
> For example, if "times" is first in my font.serif list (or the first one found 
> that latex supports), this command can be run:
> 
> \renewcommand{\rmdefault}{ptm}
> 
> but if font.family is cursive in rc, then Zapf Chancery (pzc) is used instead.
> 
> Which entry in matplotlibrc should correspond to the computer modern fonts? Is 
> it "serif" for font.serif?
> 
> Also, I would like to drop support for the tex engine, and focus on latex 
> only. These font issues we are addressing are beyond my ability (and 
> interest) to support with tex, but they can be handled using the available 
> font packages with latex. Objections?
I'm +1 on anything that simplifies this: while the functionality is fantastic, 
the current usability 'leaves to be desired' :). And many thanks for your 
combined efforts on this problem!
Best,
f
From: Darren D. <dd...@co...> - 2006年01月30日 00:16:02
I'm moving this over to matplotlib-devel for the time being. There are a 
couple of technical details I need to discuss that dont need to be broadcast 
to matplotlib-user's 384 (!) subscribers. We are discussing how usetex 
handles different font families.
On Sunday 29 January 2006 4:07 pm, you wrote:
> Darren Dale wrote:
> > Earlier this morning I changed the wiki page to explain this detail. Is
> > it still unclear?
>
> mmh. Perhaps a little summary table of the kind
>
> font.family || font.latex.package || resulting font
> -------------------------------------------------------
> serif || various options
>
> serif
>
> sans
>
> sans
>
> etc.
>
>
> Might help the dense amongst us make sense of the various possible results
> without having to think, something at least I am not very good at.
:) I'm pretty dense even after my third cup of coffee.
The table may not be necessary: I just discovered that we can drop the 
font.latex.package rc setting, and instead respect the serif, 
font.sans-serif, cursive and monospace font rc settings. 
For example, if "times" is first in my font.serif list (or the first one found 
that latex supports), this command can be run:
\renewcommand{\rmdefault}{ptm}
but if font.family is cursive in rc, then Zapf Chancery (pzc) is used instead.
Which entry in matplotlibrc should correspond to the computer modern fonts? Is 
it "serif" for font.serif?
Also, I would like to drop support for the tex engine, and focus on latex 
only. These font issues we are addressing are beyond my ability (and 
interest) to support with tex, but they can be handled using the available 
font packages with latex. Objections?
John, I learned today how to properly scale fonts, which might fix some of the 
problems people have reported with text that is not being placed properly. It 
requires using at least the scalefnt and fix-cm packages. I believe they are 
included in every latex distribution. We currently do 10pt in latex, and then 
scale everything afterwards, because that was the only way it seemed to work. 
What we should do is just scale the fonts in latex and then we dont have to 
monkey with the results. Do you object to this change?
Darren

Showing 10 results of 10

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /