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
(3)
2
(7)
3
(5)
4
(1)
5
(36)
6
(36)
7
8
(7)
9
(23)
10
(24)
11
(6)
12
(16)
13
(34)
14
(5)
15
16
(34)
17
(25)
18
(13)
19
(26)
20
(64)
21
(26)
22
(20)
23
(10)
24
(24)
25
(23)
26
(13)
27
(15)
28
(1)
29
(4)
30
(9)
31
(9)




Showing 6 results of 6

From: Darren D. <dd...@co...> - 2007年07月11日 23:18:37
On Wednesday 11 July 2007 05:50:19 pm Eric Firing wrote:
> Mike, John,
>
> I sent an inquiry to stixfonts based on
> http://www.stixfonts.org/swdev_geninfo.html#; I will let you know if
> they come back with anything. It does look like a genuine release is in
> sight. But are these fonts all based on Roman style, with serifs,
> correct? That seems unfortunate; I think that for most plotting
> purposes, sans-serif works better.
I thought they were going to include both serifs and sans-serifs, but I might 
be wrong. I'm on the list to receive the beta package when it is available, 
which could be any day now.
Darren
From: Eric F. <ef...@ha...> - 2007年07月11日 21:50:33
Mike, John,
I sent an inquiry to stixfonts based on 
http://www.stixfonts.org/swdev_geninfo.html#; I will let you know if 
they come back with anything. It does look like a genuine release is in 
sight. But are these fonts all based on Roman style, with serifs, 
correct? That seems unfortunate; I think that for most plotting 
purposes, sans-serif works better.
Eric
From: Eric F. <ef...@ha...> - 2007年07月11日 20:46:37
Mike,
The attached file masked_interior.py illustrates masking failure in a 
very simple case; you can see masking working in the plot on the left, 
where a contour intersects the masked region, but when that contour 
level is removed the masked region is getting filled in.
The file contourf_demo.py is slightly modified from the one in the mpl 
examples directory, and shows a failure of masking in a more complicated 
setting. The masked region at the lower-left corner is correct, but the 
masked region in the middle of the plot is getting filled with gray 
instead of being left blank.
In cntr.c there is a function, print_Csite, that may be helpful for 
debugging the simplest case, where the array size is not too large.
Note that the code path for filled contours is quite different, and more 
complicated, than for line contours--and in fact, even neglecting branch 
cuts, the two code paths don't always yield the same contours.
cntr.c is somewhat unusual among contour algorithms in that it works 
with rectangles without subdividing them into triangles.
Eric
From: <jk...@ik...> - 2007年07月11日 18:49:11
Michael Droettboom <md...@st...> writes:
> This approach is reported to work on "Macintosh, Unix, and Windows",
> but I've only tested on Linux and OS-X. Please let me know if it
> solves your issue.
It solves my problem on OS X. Thanks!
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Michael D. <md...@st...> - 2007年07月11日 15:03:49
Michael Droettboom wrote:
> Jouni K. Seppänen wrote:
> 
>> "John Hunter" <jd...@gm...> writes:
>>
>> 
>> 
>>> On 7/10/07, Michael Droettboom <md...@st...> wrote:
>>> 
>>> 
>> I'm seeing a bug on OS X, whose file system is by default
>> case-preserving but not case-sensitive:
>>
>> 458 -> fontdictObject = self.embedTTF(
>> 459 filename, self.used_characters[filename])
>>
>> Here self.used_characters has a key starting with '/Users/jks/...' but
>> filename is '/users/jks/...'. I'm not sure how to fix this cleanly. 
>> I though os.path.normcase would help, but it doesn't:
>>
>> 
>> 
> Thanks for that. The Ps backend has the same problem. I'll do a little 
> research and see what a common solution to this might be.
>
> 
I changed the code to use the file's (st_ino, st_dev) pair as a key, 
rather than the path. This is cached to prevent lots of little stat 
calls. This approach is reported to work on "Macintosh, Unix, and 
Windows", but I've only tested on Linux and OS-X. Please let me know if 
it solves your issue.
Along the way, I found an interesting discussion about why normcase does 
what it does on OS-X. (Summary: because file names are case sensitive 
on OS-X, but not the default HFS+ filesystem that Macs ship with as 
their System volume.)
http://mail.python.org/pipermail/python-list/2006-January/360098.html
Cheers,
Mike
From: Michael D. <md...@st...> - 2007年07月11日 14:33:05
I've tested this approach with Firefox 2.0 and rsvg 2.16. The text 
alignment is actually much better since the text layout is fully under 
the control of matplotlib. This has been checked into SVN, and can be 
used by setting the rcparam "svg.embed_char_paths" to True.
The following are my usual "size benchmarks" (that I used for PS and PDF 
as well):
without character paths -> with character paths
fonts_demo_kw.py: 10314 -> 69256
mathtext_demo.py: 10606 -> 37896
unicode_demo.py: 7677 -> 43473
over all demos in backend_driver.py: 17,722,815 -> 18,789,999
Cheers,
Mike
Michael Droettboom wrote:
> Actually, it just occurred to me that you could use 'defs' and 'use' to 
> define characters as paths and reuse them. And that's something that 
> works today in virtually any SVG renderer.
>
> It totally blitzes the logical representation of the text (i.e. 
> searching and copying as text etc.), but if it was only done for math 
> text, then that's probably not a big deal. IMHO, math text is where 
> matching the exact font is most important, where a reasonable substitute 
> is often not installed, and where searching doesn't make a lot of 
> sense. In any case, editing the SVG in something like Inkscape will be 
> harder, since the text has become raw paths.
>
> Thanks to ft2font, it was fairly easy to get outlines of math characters 
> embedded in the SVG file. I've put up an example mathtext_demo.py SVG here:
>
> ftp://ftp.stsci.edu/tmp/mdroe/mathtext_demo.svg
>
> I'll commit this code once it's cleaned up and better tested etc. if 
> it's agreed this is something we want to do. I think in any case this 
> should be optional -- it gives the file some portability at the expense 
> of editability.
>
> Cheers,
> Mike
>
> Carl Worth wrote:
> 
>> On 2007年7月10日 13:43:49 -0400, Michael Droettboom wrote:
>> 
>> 
>>> "major SVG renderers" support seems to be the issue at first glance.
>>> None of the big open source options -- Firefox, inkscape, rsvg -- seem
>>> to support it.
>>> 
>>> 
>> That's my understanding as well.
>>
>> 
>> 
>>> Until there's something readily available to test with, there's probably
>>> not much point.
>>> 
>>> 
>> It's a classic chicken-and-egg. I know the cairo-svg maintainer is
>> hoping to add SVGFont stuff to cairo's SVG output to try to boostrap
>> past this problem.
>> 
>> 
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
> 

Showing 6 results of 6

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 によって変換されたページ (->オリジナル) /