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

Showing 6 results of 6

From: Gellule Xg <gel...@fr...> - 2009年10月07日 04:02:55
I'm having some regression issues with 0.99.1.1 compared to 0.98.5.3 in 
"blocking_input.py".
I'm using pylab.clabel(...,manual=True) expecting my figure to ask me to 
input the locations of the contour labels. All was fine in 0.98.5.3, it 
does not seem to work with 0.99.1.1.
After some investigations I found:
1. With rev 7591, the button1, button2, and button3 methods in the 
BlockingMouseInput class have been renamed to mouse_event_add, 
mouse_event_stop, and mouse_event_stop. To date, these changes have not 
been made to BlockingContourLabeler which still has the button1 and 
button2 method that are in charge of actually adding and removing the 
new labels, and that are never called.
Replacing button1 by mouse_event_add and button3 by mouse_event_pop 
seems to return the "manually add contour label" functionality.
2. After that change, I get a crash on mouse_button_stop in 
BlockingMouseInput on line 196:
TypeError: stop_event_loop() takes exactly 1 argument (2 given)
After confirmation from the docuemntation that stoip_event_loop() should 
indeed not take any argument I would fix line 196 with:
 < self.fig.canvas.stop_event_loop(event)
 > self.fig.canvas.stop_event_loop()
-Julien
From: David C. <da...@ar...> - 2009年10月07日 03:31:11
Andrew Straw wrote:
> David Cournapeau wrote:
> 
>> Hi,
>>
>> I don't know if that's of any interest for matplotlib developers,
>> but I added scripts to build matplotlib with numscons:
>>
>> http://github.com/cournape/matplotlib/tree/scons_build
>> 
>> 
> Hi David,
>
> I'm trying to download your git repository, but I'm having trouble
> cloning it.
>
> Can you do this? "git clone git://github.com/cournape/matplotlib.git"
> 
Yes, I have exactly the same problem - cloning through ssh is ok, though
(although it does not help you much). I already tried to remove/refork
the repo from you (I thought the problem may have been caused by
astraw/matplotlib being a new repo), to no end.
I wish git would improve their network support...
> For me, I get an error:
>
> $ git clone git://github.com/cournape/matplotlib.git
> Initialized empty Git repository in /home/astraw/tmp/mpl/matplotlib/.git/
> fatal: The remote end hung up unexpectedly
>
> This has been happening for 2 days now.
>
> If it's not working for you, can you file a support ticket with github?
> (Or just delete your old repo and start a new one on github, preferably
> forking from the astraw/matplotlib.git repo.)
> 
I will,
David
From: Gellule Xg <gel...@fr...> - 2009年10月07日 02:40:13
>> This is a bug report for matplotlib version 0.99.1.1
>>
>> The clip_path keyword of imshow() does not work when setting it to 
>> (Path, Transform) for two reasons:
> 
> Hi, Thanks for the report. Do you have a simple test script that we can
> use to see the problem and then fix it? We will then use this as the
> basis to create a test function to make sure the issue never "crops" up
> again.
> 
> -Andrew
Hi Andrew,
Please try the following. It's a script that clips an NxN image based on 
its contour.
Thanks,
-Julien
import numpy
import pylab
#Create a NxN image
N=100
(x,y) = numpy.indices((N,N))
x -= N/2
y -= N/2
r = numpy.sqrt(x**2+y**2-x*y)
#Create a contour plot at N/4 and extract both the clip path and transform
c=pylab.contour(r,[N/4])
clipPath = c.collections[0].get_paths()[0]
clipTransform = c.collections[0].get_transform()
#Plot the image clipped by the contour
pylab.imshow(r, clip_path=(clipPath,clipTransform))
pylab.show()
From: Eric F. <ef...@ha...> - 2009年10月07日 02:07:09
Gellule Xg wrote:
> This is a bug report for matplotlib version 0.99.1.1
> 
> The clip_path keyword of imshow() does not work when setting it to 
> (Path, Transform) for two reasons:
> 
> 1. On line 622 of artist.py, v is now the tuple (Path,Transform) and 
> should be apply to func with apply(func,v). Hence the following 
> suggested change:
> 
> for k,v in props.items():
> func = getattr(self, 'set_'+k, None)
> if func is None or not callable(func):
> raise AttributeError('Unknown property %s'%k)
> < func(v)
> > if type(v) is tuple:
> > apply(func,v)
> else:
> func(v)
apply is deprecated. The block above could be written in one line as
 func(*tuple(v))
Eric
> changed = True
> 
> 2. On line 6278 of axes.py, im.set_clip_path(self.patch) should not 
> overwrite the clip path if already set. Hence the following suggested 
> change:
> 
> im.set_data(X)
> im.set_alpha(alpha)
> self._set_artist_props(im)
> < im.set_clip_path(self.patch)
> > if not im._clipon:
> > im.set_clip_path(self.patch)
> #if norm is None and shape is None:
> # im.set_clim(vmin, vmax)
> if vmin is not None or vmax is not None:
> im.set_clim(vmin, vmax)
> else:
> im.autoscale_None()
> im.set_url(url)
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Andrew S. <str...@as...> - 2009年10月07日 01:24:22
Gellule Xg wrote:
> This is a bug report for matplotlib version 0.99.1.1
> 
> The clip_path keyword of imshow() does not work when setting it to 
> (Path, Transform) for two reasons:
Hi, Thanks for the report. Do you have a simple test script that we can
use to see the problem and then fix it? We will then use this as the
basis to create a test function to make sure the issue never "crops" up
again.
-Andrew
From: Gellule Xg <gel...@fr...> - 2009年10月07日 00:55:00
This is a bug report for matplotlib version 0.99.1.1
The clip_path keyword of imshow() does not work when setting it to 
(Path, Transform) for two reasons:
1. On line 622 of artist.py, v is now the tuple (Path,Transform) and 
should be apply to func with apply(func,v). Hence the following 
suggested change:
 for k,v in props.items():
 func = getattr(self, 'set_'+k, None)
 if func is None or not callable(func):
 raise AttributeError('Unknown property %s'%k)
< func(v)
 > if type(v) is tuple:
 > apply(func,v)
 else:
 func(v)
 changed = True
2. On line 6278 of axes.py, im.set_clip_path(self.patch) should not 
overwrite the clip path if already set. Hence the following suggested 
change:
 im.set_data(X)
 im.set_alpha(alpha)
 self._set_artist_props(im)
< im.set_clip_path(self.patch)
 > if not im._clipon:
 > im.set_clip_path(self.patch)
 #if norm is None and shape is None:
 # im.set_clim(vmin, vmax)
 if vmin is not None or vmax is not None:
 im.set_clim(vmin, vmax)
 else:
 im.autoscale_None()
 im.set_url(url)

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