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

Showing 7 results of 7

From: Eric F. <ef...@ha...> - 2009年07月28日 22:51:26
Ray Speth wrote:
> I believe I have found a simple change that improves the rendering speed 
> of quiver plots, which can be quite slow for large vector fields. Based 
> on some profiling, the problem appears to stem from the use of numpy's 
> MaskedArrays in PolyCollection.set_verts. If I add the following line to 
> the top of the PolyCollection.set_verts function in collections.py:
> 
> 	verts = np.asarray(verts)
> 
> I find that quiver plots are drawn about 3 times as quickly, going from 
> 2.6 seconds for a 125x125 field to 0.65 seconds. This does not seem to 
> break the use of MaskedArrays as inputs, and masked regions are still 
> hidden in the final plot. I do not know if this has any adverse effects 
> in other classes that inherit from PolyCollection.
I made a change in PolyCollection.set_verts that has the effect of your 
suggestion but without affecting masked argument inputs in general. I 
also made a bunch of other changes in quiver.py to speed things up with 
or without masked inputs, but their net effect is minimal in practice; 
your suggestion was the key. I get a factor of 2, not 3; I think this 
must be a difference in our machines, though. In any case, I'm glad you 
found the time sink.
Eric
> 
> Using:
> python 2.6.2 on Windows XP
> numpy 1.3.0
> matplotlib 0.98.5.3, Qt4Agg backend
> 
> I do not know why iterating over MaskedArrays is so slow, but perhaps 
> this information can be used to speed up some other functions as well.
> 
> Ray Speth
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Freddie W. <fr...@wi...> - 2009年07月28日 21:51:50
Hi,
I was thinking about the problem of including mathtex in matplotlib earlier 
and came up with an alternative means of 'solving' the problem.
Instead of hacking setup.py to install mathtex on the behalf of matplotlib it 
may be easier to leave it up to the user/packager to install mathtex.
While simplifying the code (not as many changed are need to the setup files) it 
also eliminates the problems associated with one package installing another 
package (matplotlib installing mathtex).
This could be done either through ones distribution package manger, standalone 
(getting the mathtex source) or just by following the instructions in 
lib/mathtex/INSTALL. (Checking out matplotlib also checks out the mathtex 
source into lib/mathtex.)
However, I am interested if this solution is acceptable to the matplotlib 
developers.
It may also be worth pointing out that mathtex is an optional dependency of 
matplotlib and is not required for matplotlib to function.
Regards, Freddie.
From: Jeff W. <js...@fa...> - 2009年07月28日 15:09:08
Adam Mercer wrote:
> On Tue, Jul 28, 2009 at 05:14, Jeff Whitaker<js...@fa...> wrote:
>
> 
>> Chris: This usually happens when you build mix different versions of
>> geos, i.e. build with the 3.1 lib but the 2.2.3 headers, or link with
>> the 3.1 shared lib and then have it pick up the 2.2.3 shared lib at run
>> time. Do you have two versions of geos on your system? If so, make
>> sure basemap is only finding one of them, both at build time and run time.
>> 
>
> So does basemap support GEOS-3.1 now?
Yes.
> I thought that it only worked
> with 2.2.3? If so this is great news.
>
> Cheers
>
> Adam
> 
-- 
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jef...@no...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
From: Adam M. <ram...@gm...> - 2009年07月28日 15:03:07
On Tue, Jul 28, 2009 at 05:14, Jeff Whitaker<js...@fa...> wrote:
> Chris: This usually happens when you build mix different versions of
> geos, i.e. build with the 3.1 lib but the 2.2.3 headers, or link with
> the 3.1 shared lib and then have it pick up the 2.2.3 shared lib at run
> time. Do you have two versions of geos on your system? If so, make
> sure basemap is only finding one of them, both at build time and run time.
So does basemap support GEOS-3.1 now? I thought that it only worked
with 2.2.3? If so this is great news.
Cheers
Adam
From: Chris P. <chr...@gm...> - 2009年07月28日 06:23:05
On Mon, Jul 27, 2009 at 8:14 PM, Jeff Whitaker<js...@fa...> wrote:
> Chris Petrich wrote:
>>
>> Hi,
>>
>> I get a Topology Exception with GEOS 3.1:
>>
>> import mpl_toolkits.basemap as bm
>> print "GEOS version: ", bm._geoslib.__geos_version__
>> print "basemap version: ", bm.__version__
>>
>> m = bm.Basemap(width=12000000,height=8000000, \
>>      resolution='l',projection='laea',\
>>      lat_0=55,lon_0=175.)
>>
>> output:
>>
>> GEOS version: 3.1.0-CAPI-1.5.0
>> basemap version: 0.99.3
>> GEOS_ERROR: TopologyException: found non-noded intersection between
>> 3.03025e+06 1.45852e+07, 3.02518e+06 1.45831e+07 and 3.02379e+06
>> 1.45823e+07, 3.02937e+06 1.45857e+07 3.02519e+06 1.45831e+07
>> Segmentation fault
>>
>>
>> Any solutions?
>> cheers
>>
>> Chris
>>
>>
>
> Chris: This usually happens when you build mix different versions of geos,
> i.e. build with the 3.1 lib but the 2.2.3 headers, or link with the 3.1
> shared lib and then have it pick up the 2.2.3 shared lib at run time. Do
> you have two versions of geos on your system? If so, make sure basemap is
> only finding one of them, both at build time and run time.
>
> -Jeff
>
Thanks, Jeff,
that was it.
I had both geos 3.1 and 2.2.3 installed in /usr. basemap found 3.1
during build/installation while _libgeos tried to import 2.2.3 at run
time (this became obvious after I removed the 2.2.3 libraries).
Removed libgeos 2.2.3 and "python setup.py install"-ed basemap 0.99.3
from a fresh tar ball, works like a charm now!
I appreciate the effort you put into developing basemap. The result is awesome.
cheers
Chris
From: Jeff W. <js...@fa...> - 2009年07月28日 04:14:29
Chris Petrich wrote:
> Hi,
>
> I get a Topology Exception with GEOS 3.1:
>
> import mpl_toolkits.basemap as bm
> print "GEOS version: ", bm._geoslib.__geos_version__
> print "basemap version: ", bm.__version__
>
> m = bm.Basemap(width=12000000,height=8000000, \
> resolution='l',projection='laea',\
> lat_0=55,lon_0=175.)
>
> output:
>
> GEOS version: 3.1.0-CAPI-1.5.0
> basemap version: 0.99.3
> GEOS_ERROR: TopologyException: found non-noded intersection between
> 3.03025e+06 1.45852e+07, 3.02518e+06 1.45831e+07 and 3.02379e+06
> 1.45823e+07, 3.02937e+06 1.45857e+07 3.02519e+06 1.45831e+07
> Segmentation fault
>
>
> Any solutions?
> cheers
>
> Chris
>
> 
Chris: This usually happens when you build mix different versions of 
geos, i.e. build with the 3.1 lib but the 2.2.3 headers, or link with 
the 3.1 shared lib and then have it pick up the 2.2.3 shared lib at run 
time. Do you have two versions of geos on your system? If so, make 
sure basemap is only finding one of them, both at build time and run time.
-Jeff
From: Chris P. <chr...@gm...> - 2009年07月28日 04:10:02
Hi,
I get a Topology Exception with GEOS 3.1:
import mpl_toolkits.basemap as bm
print "GEOS version: ", bm._geoslib.__geos_version__
print "basemap version: ", bm.__version__
m = bm.Basemap(width=12000000,height=8000000, \
 resolution='l',projection='laea',\
 lat_0=55,lon_0=175.)
output:
GEOS version: 3.1.0-CAPI-1.5.0
basemap version: 0.99.3
GEOS_ERROR: TopologyException: found non-noded intersection between
3.03025e+06 1.45852e+07, 3.02518e+06 1.45831e+07 and 3.02379e+06
1.45823e+07, 3.02937e+06 1.45857e+07 3.02519e+06 1.45831e+07
Segmentation fault
Any solutions?
cheers
Chris

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