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




Showing 7 results of 7

From: Robert K. <rob...@gm...> - 2008年09月24日 19:42:45
Paul Kienzle wrote:
> Also a linear perceptual scale would work better than HSV but I don't
> know of one off hand.
L*u*v* or its cylindrical-coordinate cousin L*t*theta* (or LCH_uv). "Choosing 
Color Palettes for Statistical Graphics" is a nice paper talking about an 
implementation in R (although they do seem to misname L*t*theta* as HCL, which 
officially is different):
 http://eeyore.ucdavis.edu/stat250/epub-wu-01_abd.pdf
For the "real" HCL, which also might be useful:
 http://mmis.doc.ic.ac.uk/mmir2005/CameraReadyMissaoui.pdf
The main problem with perceptual colorspaces is that they do not map neatly to 
the color gamut of the RGB or CMYK colorspaces of typical rendering devices.
-- 
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
 -- Umberto Eco
From: Michael D. <md...@st...> - 2008年09月24日 19:10:05
Jae-Joon Lee wrote:
>> I believe you are looking for the scanline boolean algebra -- search
>> the antigrain demo page
>>
>> http://www.antigrain.com/demo/index.html
>>
>> for scanline_boolean.cpp. Of course, we would need to support the
>> other major backends too....
>>
>> 
>
> I'm not sure if scanline_boolean does what I want (but I have to admit
> that I haven't looked at its code carefully yet). Do you know if it is
> possible to stroke along the union of the two paths (this is what I
> want)? My impression is that scanline thing is for filling the path.
> Anyhow, I'll take a more look.
> 
You should probably be able to take the union of two stroked paths -- 
which is not a geometry package like lib2geom would do, but it should be 
good enough/fast enough.
Of course, any solution will have to work with all backends, not just Agg.
> 
>> This appears to be LGPL, so we will not be using it in the main distro.
>>
>> 
>
> Yes, it's LGPL.
> And I didn't mean to include it in mpl.
> Anyhow, I think I'll go with the first method for the moment.
> 
It sounds like this method should also be the most portable between 
backends. I doubt efficiency is a concern, because there's a real upper 
limit on the number of these annotations before things become illegible.
Cheers,
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Jae-Joon L. <lee...@gm...> - 2008年09月24日 18:32:53
>
> Well merging is obviously better. I wrote YAArrow to support
> plain-vanilla annotations. AFAIK, they are used nowhere else, so as
> long as we could come up with one arrow class that works with
> plain-vanilla and fancy annotations, that would be good. But it may
> be easier said than done. These annotation arrows are really helper
> classes that are instantiated by higher level functions (eg users most
> likely won't be creating them themselves) and since they all have the
> basic patch interface, I don't think having a proliferation of them is
> the worst thing in the world, though the ideal is to have as few
> classes as possible that serve as many cases as possible.
>
>
Thanks.
Yes, merging seems better to me too. And it seems that I can slightly
tweak the current interface of my class so that it get along well with
pre-existing classes.
I'll work on the merge and post the patch sometime soon.
>
> I believe you are looking for the scanline boolean algebra -- search
> the antigrain demo page
>
> http://www.antigrain.com/demo/index.html
>
> for scanline_boolean.cpp. Of course, we would need to support the
> other major backends too....
>
I'm not sure if scanline_boolean does what I want (but I have to admit
that I haven't looked at its code carefully yet). Do you know if it is
possible to stroke along the union of the two paths (this is what I
want)? My impression is that scanline thing is for filling the path.
Anyhow, I'll take a more look.
>
> This appears to be LGPL, so we will not be using it in the main distro.
>
Yes, it's LGPL.
And I didn't mean to include it in mpl.
Anyhow, I think I'll go with the first method for the moment.
Thanks,
-JJ
From: Paul K. <pki...@em...> - 2008年09月24日 13:57:51
On Sep 23, 2008, at 8:29 PM, Tom Holroyd wrote:
> Repost; the list bounced my last attempt.
>
> On Fri, 2008年09月19日 at 18:42 -0400, Tom Holroyd wrote:
>> On Thu, 2008年09月18日 at 20:40 +0200, Jouni K. Seppänen wrote:
>>> I would prefer something like the following options:
>>>
>>> fc={'orange': 20, 'white': None}
>>> fc=[[20, 'orange'], [None, 'white']]
>>> fc=ColorMixture('orange', 20, 'white') # where ColorMixture 
>>> is a fairly
>>> # trivial class
>>
>> +1
>>
>> simpler, easier to read & write, less ad-hoc
>>
>> I'd go ahead and make ColorMixture a fancy class with __rmul__ and
>> __add__ methods to allow things like
>> 	orange = ColorMixture(255, 165, 0)
>> 	blue = ColorMixture(0, 0, 255)
>> 	mycolor = .7 * orange + .2 * blue
hsv mixing is much more useful. Take a known color and you can imagine
what a darker/lighter or paler/deeper version would look like, such as
dark green or pale blue. These are just value and saturation. Even hue
can be imagined to some degree (bluish, greenish, etc.) to move one hue
toward another, but that is harder to imagine across the circle
(e.g, greenish purple or bluish yellow).
Rather than averaging it would be easier to move some percentage toward
the other color, such as blue, but hue 20% toward green.
This can probably be expressed in operations on a color mixture class
as above.
Also a linear perceptual scale would work better than HSV but I don't
know of one off hand.
- Paul
From: David K. <Dav...@ir...> - 2008年09月24日 08:02:29
Hi,
Sounds fine, though I would note that about half of the code that was in
numerical_methods originally came from cbook, not mlab. This code fits
equally well in mlab, so I don't have anything against putting it there.
Thanks for taking care of this - I have been busy with other things.
Cheers,
David
On Tue, 2008年09月23日 at 13:24 -0500, John Hunter wrote:
> On Tue, Sep 16, 2008 at 3:26 AM, David M. Kaplan <Dav...@ir...> wrote:
> > Hi,
> >
> > I would just undo what I have done rather than putting a lot of moved
> > messages all over the place. I personally find the mix of matlab and
> > non-matlab stuff in mlab confusing, but I will go with the group
> > consensus.
> 
> Since noone else had anything to add here, I moved all the
> numerical_methods methods back into mlab until we have a more
> comprehensive solution that is friendly to the existing codebase (one
> of my apps was just bitten by it...)
> 
> JDH
-- 
**********************************
David M. Kaplan
Charge de Recherche 1
Institut de Recherche pour le Developpement
Centre de Recherche Halieutique Mediterraneenne et Tropicale
av. Jean Monnet
B.P. 171
34203 Sete cedex
France
Phone: +33 (0)4 99 57 32 27
Fax: +33 (0)4 99 57 32 95
http://www.ur097.ird.fr/team/dkaplan/index.html
**********************************
From: Tom H. <to...@ku...> - 2008年09月24日 00:59:04
Repost; the list bounced my last attempt.
On Fri, 2008年09月19日 at 18:42 -0400, Tom Holroyd wrote:
> On Thu, 2008年09月18日 at 20:40 +0200, Jouni K. Seppänen wrote:
> > I would prefer something like the following options:
> > 
> > fc={'orange': 20, 'white': None}
> > fc=[[20, 'orange'], [None, 'white']]
> > fc=ColorMixture('orange', 20, 'white') # where ColorMixture is a fairly
> > # trivial class
> 
> +1
> 
> simpler, easier to read & write, less ad-hoc
> 
> I'd go ahead and make ColorMixture a fancy class with __rmul__ and
> __add__ methods to allow things like
> 	orange = ColorMixture(255, 165, 0)
> 	blue = ColorMixture(0, 0, 255)
> 	mycolor = .7 * orange + .2 * blue
> 
> like,
> 
> class cm:
> def __init__(self, r, g, b):
> self.r = r
> self.g = g
> self.b = b
> def __rmul__(self, a):
> return cm(a * self.r, a * self.g, a * self.b)
> def __add__(self, a):
> return cm(a.r + self.r, a.g + self.g, a.b + self.b)
> 
-- 
Elephants can paint.
http://www.elephantart.com/catalog/thailand.php
From: Russell E. O. <rowen@u.washington.edu> - 2008年09月24日 00:19:51
In article 
<88e...@ma...>,
 "John Hunter" <jd...@gm...> wrote:
> On Thu, Sep 18, 2008 at 2:33 PM, Russell E. Owen <rowen@u.washington.edu> 
> wrote:
> > The versions of pytz and dateutil that are included with matplotlib
> > 0.98.3 are outdated....
> 
> Hey Russell, thanks for the head's up.
> 
> For our source installs, by default we install them only if they are
> not on the system, but you can configure this with setup.cfg to
> always, never or conditionally install them.
> 
> I have updated the mpl versions to the ones you point to above.
I just discovered that matplotlib 0.98.3 is not compatible with pytz 
2008c due to an unexpected change in pytz. The following fix works (I 
chucked it into __init__.py near the beginning).
# the following fix for compatibility with pytz 1.4.1 is from
# <http://www.mail-archive.com/pyt...@py.../msg07816.html>
import pytz
try:
 import pytz.zoneinfo
except ImportError:
 pytz.zoneinfo = pytz.tzinfo
 pytz.zoneinfo.UTC = pytz.UTC
-- Russell

Showing 7 results of 7

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