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





Showing 20 results of 20

From: Fernando P. <fpe...@gm...> - 2007年12月06日 23:49:39
From: Darren D. <dar...@co...> - 2007年12月06日 23:40:25
On Thursday 06 December 2007 10:40:16 am John Hunter wrote:
> I'd like to shoot for another point release next week 0.91.2 to get
> something out that is stable and free of most of the known bugs. Lets
> hold off contributing anything significant in terms of new features
> (minor features easy to test and unlikely to break code are OK), and
> concentrate of clearing up the bugs on the tracker that have been
> posted in response to the 0.91 releases.
I had a go at the bug reports today. A lot of them were old and out of date, 
many had already been fixed. I also closed several that were probably invalid 
and a few that didnt include enough information to be addressed. I think 
there is still plenty of low-hanging fruit, for the majority of you who are a 
little taller than I am.
Darren
From: Amandeep B. <aba...@gm...> - 2007年12月06日 22:40:51
 I have a question regarding the plots that are generated in Matplotlib
I was wondering if Matplotlib does autoscaling as well as makes sure
that the number of samples of data to pixels ratio is always an
integer. This is important when you zoom into the plot or readjust
the plot because then it readjusts the axis to fit the plot. This
ensures that data is accurate on the plot and data is not lost. It
also is an important feature when doing Signals processing and looking
at FFT's and Spectrograms.
I was also wondering if Matplotlib decimates the data
Thanks
From: Christopher B. <Chr...@no...> - 2007年12月06日 19:50:46
Darren Dale wrote:
> I just committed changes to the py2exe functions in __init__.py, which had 
> references to the old matplotlibdata directory instead of the newer 
> mpl-data.\
Thanks!
py2app is broken too. I haven't looked into it yet, but I think it uses 
a "recipe" instead of the py2exe functions, so that will need to be fixed.
Is anyone familiar with that that can look at it?
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
From: Michael D. <md...@st...> - 2007年12月06日 19:26:35
John Hunter wrote:
> On Dec 6, 2007 12:14 PM, Michael Droettboom <md...@st...> wrote:
>> It seems to me that most of the machinery about selecting which
>> numerical package to import can be removed, correct? This is mainly in
>> numerix/__init__.py. The rcParam can be kept around, but maybe we
>> should warn if it's not set to numpy since it ain't gonna do what you
>> asked...
> 
> I'm not 100% sure what you are referring to....
> 
> We decided to leave numerix as is for users who wrote scripts around it, eg
> 
> import matplotlib.numerix as nx
> x = nx.arange(10).
> plot(x)
> 
> Of cource, mpl will use numpy under the hood, and should not import
> numerix itself anywhere in mpl, but we did not want to break the code
> of users who depended on it. If they set numerix to numarray, numerix
> will give them numarray, but mpl will convert it to numpy in the
> asarray calls. As long as the Numeric, numarray or numpy they are
> using supports the array protocol we should have no troubles.
> 
> Or are you talking about something completely different?
I think we're talking about the same thing, but I'm glad I asked.
The problem the user ran into was that they had "numerix: numarray" in 
matplotlibrc, but numarray wasn't installed. So importing matplotlib 
threw an ImportError attempting to import numarray. (pylab.py imports 
numerix.npyma, which imports numerix/__init__.py, which imports 
numarray). Not really a bug with matplotlib as such -- it's user error 
for setting numerix to numarray.
I had thought that since core matplotlib is "numpy" pure, the potential 
for others making this mistake could be removed by simply not having any 
code that imports numarray. However, as you seem to suggest, as long as 
there are reasons that someone would want numerix to wrap numarray, 
while matplotlib uses numpy, then I agree it should be left as is.
Cheers,
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Darren D. <dar...@co...> - 2007年12月06日 19:25:55
I just committed changes to the py2exe functions in __init__.py, which had 
references to the old matplotlibdata directory instead of the newer 
mpl-data. This should address bug 1827685, but I don't use py2exe (or 
windows) and need someone to test the changes and suggest further 
improvements if it is still broken.
Thanks,
Darren
From: Eric F. <ef...@ha...> - 2007年12月06日 19:11:34
And, another goal for layout (if it has not already been achieved) might 
be to make it easy to end up with a tight bounding box. That is, to end 
up with the plot nicely filling the allotted space, to the extent that 
it can given specified aspect ratio. One of the repeated complaints 
about mpl is that one can easily end up with quite a bit of unneeded 
whitespace on the periphery.
Another goal might be to make it easy to specify axes dimensions in 
physical units, or to specify data-to-physical-units conversion factors. 
 For example, sometimes one wants to make many plots with 100 m 
vertical data units to 1 inch on the page, and 1 degree latitude to 1/2 
inch on the page.
(Quick thoughts, file or discard as needed--sorry I can't do more at the 
moment.)
Eric
John Hunter wrote:
> On Dec 6, 2007 8:03 AM, Michael Droettboom <md...@st...> wrote:
> 
>> It's an open question whether autolayout may start ignoring the adjust
>> requests or not as a backward compatibility measure. I still consider
>> this stuff a long way off until it's usable in general.
> 
> My feeling is that it is not a good idea to try and support the manual
> layout and the autolayout with the same set of parameters, but how to
> get this segregation right may be difficult in practice. Eg, it is
> probably better to have something like a vbox and hbox pad that the
> user can configure for the autolayout if they want to increase the
> whitespace between the axes using autolayout, rather than trying to
> support the subplots adjust parameters. Depending on the
> figure.autolayout setting, one might launch a different GUI widget
> panel (eg the subplots_adjust widgets if autolayout is False, and a
> different widget with different params if it is True).
> 
> JDH
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell. From the desktop to the data center, Linux is going
> mainstream. Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: John H. <jd...@gm...> - 2007年12月06日 19:01:45
On Dec 6, 2007 12:14 PM, Michael Droettboom <md...@st...> wrote:
> It seems to me that most of the machinery about selecting which
> numerical package to import can be removed, correct? This is mainly in
> numerix/__init__.py. The rcParam can be kept around, but maybe we
> should warn if it's not set to numpy since it ain't gonna do what you
> asked...
I'm not 100% sure what you are referring to....
We decided to leave numerix as is for users who wrote scripts around it, eg
 import matplotlib.numerix as nx
 x = nx.arange(10).
 plot(x)
Of cource, mpl will use numpy under the hood, and should not import
numerix itself anywhere in mpl, but we did not want to break the code
of users who depended on it. If they set numerix to numarray, numerix
will give them numarray, but mpl will convert it to numpy in the
asarray calls. As long as the Numeric, numarray or numpy they are
using supports the array protocol we should have no troubles.
Or are you talking about something completely different?
JDH
From: Michael D. <md...@st...> - 2007年12月06日 18:14:22
It seems to me that most of the machinery about selecting which 
numerical package to import can be removed, correct? This is mainly in 
numerix/__init__.py. The rcParam can be kept around, but maybe we 
should warn if it's not set to numpy since it ain't gonna do what you 
asked...
It's not just "dead code" -- Leaving it in means that mpl will attempt 
to import numarray in the event that a stale .matplotlibrc file asks for 
it... It was the source of a real head-scratcher in a recent internal 
support request I got.
Thought I'd check on the list before I started, because I know the 
"numpification" process has some complexities I'm not too familiar with.
Cheers,
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: John H. <jd...@gm...> - 2007年12月06日 15:50:42
On Dec 6, 2007 8:03 AM, Michael Droettboom <md...@st...> wrote:
> It's an open question whether autolayout may start ignoring the adjust
> requests or not as a backward compatibility measure. I still consider
> this stuff a long way off until it's usable in general.
My feeling is that it is not a good idea to try and support the manual
layout and the autolayout with the same set of parameters, but how to
get this segregation right may be difficult in practice. Eg, it is
probably better to have something like a vbox and hbox pad that the
user can configure for the autolayout if they want to increase the
whitespace between the axes using autolayout, rather than trying to
support the subplots adjust parameters. Depending on the
figure.autolayout setting, one might launch a different GUI widget
panel (eg the subplots_adjust widgets if autolayout is False, and a
different widget with different params if it is True).
JDH
From: John H. <jd...@gm...> - 2007年12月06日 15:40:19
I'd like to shoot for another point release next week 0.91.2 to get
something out that is stable and free of most of the known bugs. Lets
hold off contributing anything significant in terms of new features
(minor features easy to test and unlikely to break code are OK), and
concentrate of clearing up the bugs on the tracker that have been
posted in response to the 0.91 releases.
Thanks,
JDH
From: Michael D. <md...@st...> - 2007年12月06日 14:03:39
That should continue to work. It will create more space than you 
probably want, though, since it will add the manually-added space and 
the automatically-added space together.
It's an open question whether autolayout may start ignoring the adjust 
requests or not as a backward compatibility measure. I still consider 
this stuff a long way off until it's usable in general.
Cheers,
Mike
Tom Holroyd wrote:
> re autolayout; how does this affect gcf().subplots_adjust(hspace=1.),
> which is how I would make room (where hspace can be adjusted)?
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Tom H. <to...@ku...> - 2007年12月06日 13:44:29
re autolayout; how does this affect gcf().subplots_adjust(hspace=1.),
which is how I would make room (where hspace can be adjusted)?
From: Michael D. <md...@st...> - 2007年12月06日 13:37:30
Jeff Whitaker wrote:
> Michael Droettboom wrote:
>> It may be now be tricky to call apply_aspect correctly. With the 
>> recent auto-layout changes, it's required to be called after the text 
>> layout has been done, but before it has been drawn. What is your use 
>> case for calling it outside of that? Do you need to set and then use 
>> the aspect-adjusted axes position? Since apply_aspect is always 
>> called from within draw() anyway, for most uses, calling outside of 
>> that would be redundant, and I was considering making it a private 
>> method. If you don't call it from your code, is anything different?
>>
>> Cheers,
>> Mi
> 
> Mike: The only side effect of not calling apply_aspect that I can see 
> involves the use of ax.get_position(). The axes position that you get 
> is not what will ultimately be drawn on the figure unless you call 
> apply_aspect before get_position. This comes into play when setting the 
> position of colorbar axes, since you want them to line up with the axes 
> of the image.
That makes sense. I'll do what you suggest for now -- but 
unfortunately, apply_aspect is no longer "good enough" to determine the 
ultimate position of the axes, since they can also be adjusted based on 
the surrounding text now.
Alas, this auto-layout thing gets more complicated. I'll have to figure 
out something more robust (possibly combining the 
text-overlapping-prevention and the aspect ratio into a single call 
somehow).
Cheers,
Mike
>> Jeff Whitaker wrote:
>>>
>>> Mike: I see that ax.apply_aspect now has a 'position' argument. To 
>>> maintain backward compatibility, may I suggest that you make it a 
>>> kwarg, with default value None, and then add
>>>
>>> if position is None:
>>> position = self._originalPosition
>>>
>>> at the top of apply_aspect?
>>>
>>> -Jeff
>>>
>>
> 
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Jeff W. <js...@fa...> - 2007年12月06日 13:31:06
Michael Droettboom wrote:
> It may be now be tricky to call apply_aspect correctly. With the 
> recent auto-layout changes, it's required to be called after the text 
> layout has been done, but before it has been drawn. What is your use 
> case for calling it outside of that? Do you need to set and then use 
> the aspect-adjusted axes position? Since apply_aspect is always 
> called from within draw() anyway, for most uses, calling outside of 
> that would be redundant, and I was considering making it a private 
> method. If you don't call it from your code, is anything different?
>
> Cheers,
> Mi
Mike: The only side effect of not calling apply_aspect that I can see 
involves the use of ax.get_position(). The axes position that you get 
is not what will ultimately be drawn on the figure unless you call 
apply_aspect before get_position. This comes into play when setting the 
position of colorbar axes, since you want them to line up with the axes 
of the image.
-Jeff
>
> Jeff Whitaker wrote:
>>
>> Mike: I see that ax.apply_aspect now has a 'position' argument. To 
>> maintain backward compatibility, may I suggest that you make it a 
>> kwarg, with default value None, and then add
>>
>> if position is None:
>> position = self._originalPosition
>>
>> at the top of apply_aspect?
>>
>> -Jeff
>>
>
-- 
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449
325 Broadway Boulder, CO, USA 80305-3328
From: Jeff W. <js...@fa...> - 2007年12月06日 13:19:50
Michael Droettboom wrote:
> It may be now be tricky to call apply_aspect correctly. With the 
> recent auto-layout changes, it's required to be called after the text 
> layout has been done, but before it has been drawn. What is your use 
> case for calling it outside of that? Do you need to set and then use 
> the aspect-adjusted axes position? Since apply_aspect is always 
> called from within draw() anyway, for most uses, calling outside of 
> that would be redundant, and I was considering making it a private 
> method. If you don't call it from your code, is anything different?
>
> Cheers,
> Mike
Mike: Perhaps I am just misusing it - I thought you had to call it for 
the set_aspect to take effect. I didn't realize it was called from 
draw(). I'll try removing it and re-run all the basemap examples to see 
if there are any side effects.
-Jeff
>
> Jeff Whitaker wrote:
>>
>> Mike: I see that ax.apply_aspect now has a 'position' argument. To 
>> maintain backward compatibility, may I suggest that you make it a 
>> kwarg, with default value None, and then add
>>
>> if position is None:
>> position = self._originalPosition
>>
>> at the top of apply_aspect?
>>
>> -Jeff
>>
>
-- 
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449
325 Broadway Boulder, CO, USA 80305-3328
From: Michael D. <md...@st...> - 2007年12月06日 13:17:18
It may be now be tricky to call apply_aspect correctly. With the recent 
auto-layout changes, it's required to be called after the text layout 
has been done, but before it has been drawn. What is your use case for 
calling it outside of that? Do you need to set and then use the 
aspect-adjusted axes position? Since apply_aspect is always called from 
within draw() anyway, for most uses, calling outside of that would be 
redundant, and I was considering making it a private method. If you 
don't call it from your code, is anything different?
Cheers,
Mike
Jeff Whitaker wrote:
> 
> Mike: I see that ax.apply_aspect now has a 'position' argument. To 
> maintain backward compatibility, may I suggest that you make it a kwarg, 
> with default value None, and then add
> 
> if position is None:
> position = self._originalPosition
> 
> at the top of apply_aspect?
> 
> -Jeff
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Jeff W. <js...@fa...> - 2007年12月06日 13:03:47
Mike: I see that ax.apply_aspect now has a 'position' argument. To 
maintain backward compatibility, may I suggest that you make it a kwarg, 
with default value None, and then add
if position is None:
 position = self._originalPosition
at the top of apply_aspect?
-Jeff
-- 
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449
325 Broadway Boulder, CO, USA 80305-3328
From: John H. <jd...@gm...> - 2007年12月06日 02:36:12
On Dec 5, 2007 6:14 PM, James Evans <jre...@ea...> wrote:
> I have just submitted a patch to the Annotation class that allows
> specification of a 'data offset' frame for the text coordinate. This allows
> you to specify a data point to annotate and an offset that will stay the
> same regardless of scale. Please let me know if this should be given a
> different name (like 'offset' or 'point offset', etc).
Hey James,
thanks a lot for this patch. As you know, it has been on my TODO list :-)
I made one minor change, which is to rename 'data offset' to 'offset
points' since 'data' in the annotation coords refers to the native
coordinate system. Since we have 'axes points' and the like, I
thought 'offset points' would be most consistent.
Anyhow, very useful!
JDH
From: James E. <jre...@ea...> - 2007年12月06日 00:14:52
All,
 
I have just submitted a patch to the Annotation class that allows specification of a 'data offset' frame for the text coordinate.
This allows you to specify a data point to annotate and an offset that will stay the same regardless of scale. Please let me know
if this should be given a different name (like 'offset' or 'point offset', etc).
 
--James Evans

Showing 20 results of 20

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