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

Showing 5 results of 5

From: Jayson B. <jb...@nm...> - 2009年02月12日 19:49:32
Adam: sorry, I didn't mean to just send that straight to you. gmail
decided its default would be to send to you and not the mailing list.
Everyone else: The message that was supposed to go to the list:
I was looking at setupext.py and I am thinking that we could just
change the add_tk_flags function.
My idea is to remove the elif sys.platform == "darwin" section and
always go to the else.
In the except line after trying query_tcltk() we can add a check for
darwin and have it search the normal framework locations, or even put
an if sys.platform == "darwin" that goes for the frameworks in
hardcoded_tclconfig().
In the else line after that we could do a check to see if the returned
tcl/tk libs and version match any normal system framework paths (in
$HOME/Library/Frameworks, /System/Library and
/System/Library/Frameworks) or even just look at the library name or
some
other method to determine if it is a framework and add the "-framework
Tcl -framework Tk" flags to module.extra_link_args and
module.extra_compile_args if they are.
Also, I was looking and I don't actually see any point around here
where it is explicitly checked if the results of query_tcltk()
correspond to a directory that is in basedir["darwin"].
As an aside, we could add to hardcoded_tclconfig() to surf the
directories returned from add_base_flags / basedir["darwin"] instead
of the directories it has. It would probably be best on all systems
to look in the basedir[os.system] directories for Tk as a last result
rather
than /usr/local
Basically, I am just sharing some of the ideas I have been playing with.
Jayson
On Thu, Feb 12, 2009 at 12:45 PM, Jayson Barr <jb...@nm...> wrote:
> I was looking at setupext.py and I am thinking that we could just
> change the add_tk_flags function.
>
> My idea is to remove the elif sys.platform == "darwin" section and
> always go to the else.
>
> In the except line after trying query_tcltk() we can add a check for
> darwin and have it search the normal framework locations, or even put
> an if sys.platform == "darwin" that goes for the frameworks in
> hardcoded_tclconfig().
>
> In the else line after that we could do a check to see if the returned
> tcl/tk libs and version match any normal system framework paths (in
> $HOME/Library/Frameworks, /System/Library and
> /System/Library/Frameworks) or even just look at the library or some
> other method to determine if it is a framework and add the "-framework
> Tcl -framework Tk" flags to module.extra_link_args and
> module.extra_compile_args if they are.
>
> Also, I was looking and I don't actually see any point around here
> where it is explicitly checked if the results of query_tcltk()
> corrsepond to a directory that is in basedir["darwin"].
>
> As an aside, we could add to hardcoded_tclconfig() to surf the
> directories returned from add_base_flags / basedir["darwin"] instead
> of the directories it has. It would probably be best on all systems
> to look in the basedir[os.system] directories as a last result rather
> than /usr/local
>
> Basically, I am just sharing some of the ideas I have been playing with.
>
> Jayson
>
> On Tue, Feb 10, 2009 at 9:54 AM, Adam Mercer <ram...@gm...> wrote:
>> On Mon, Feb 9, 2009 at 17:08, Jayson Barr <jb...@nm...> wrote:
>>
>>> I agree with JDH.
>>
>> Likewise.
>>
>>> Unfortunately, work has been exceptionally hectic so I haven't begun
>>> the patch (if you don't count the hack job I did to install it for
>>> myself).
>>
>> Same here, I'm really busy with work and don't have much time to look
>> into this at the moment.
>>
>>> Hi Adam,
>>> As noted above, I haven't started a patch yet but I would be up for
>>> working with you on one. It sounds like we can get this tested pretty
>>> well.
>>
>> Its on my todo list, so when I get chance I'm going to investigate a
>> better solution. I'll keep you posted.
>>
>> Cheers
>>
>> Adam
>>
>
From: Nicolas G. <nic...@ga...> - 2009年02月12日 19:01:06
Jouni K. Seppänen <jk...@ik...> wrote:
>> Those changes are in the attached patch. It's certainly not a
>> definitive workaround, but it's better than nothing ;-)
>
> Committed; thanks!
My pleasure!
From: Jouni K. S. <jk...@ik...> - 2009年02月12日 18:01:35
Nicolas Grilly <nic...@ga...>
writes:
> Those changes are in the attached patch. It's certainly not a
> definitive workaround, but it's better than nothing ;-)
Committed; thanks!
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Prabhu R. <pr...@ae...> - 2009年02月12日 10:52:40
On 02/09/09 11:59, Gael Varoquaux wrote:
> On Sun, Feb 08, 2009 at 04:08:31PM -0800, Brian Granger wrote:
>> * In the current matplotlib backend wx.Yield() is called in a way that
>> is not safe as far as protecting against recursive calls to Yield. I
>> think it should be called in this way:
> 
>> app = wx.GetApp()
>> if app is not None:
>> app.Yield(True)
> 
> The problem I see with this approach is that arbitrary wx programs will
> always be doing this. The matplotlib guys can fix matplotib not to do
> this. I can fix Mayavi not to do this, but there are many more wx
> programs. And anyhow, most of the time, Yield should not be called, as it
> is a hack. Unfortunately, you often end up having to call it. :(
Just nit picking: You'd really have to modify traits and pyface for 
this. Mayavi doesn't start the mainloop.
cheers,
prabhu
From: Prabhu R. <pr...@ae...> - 2009年02月12日 10:41:47
On 02/09/09 05:38, Brian Granger wrote:
> IPython and matplotlib devs,
> 
> Over the weekend I have been playing around to see if it is possible
> to do interactive GUI work with wx from IPython *without using
> threads*. The idea here is to use PyOS_InputHook. Currently, recent
> versions of PyQt4 and PyGTK do this and if we can get wx working, we
> can probably get rid of IPython's subtle threaded shells that
> currently allow interactive GUIs to work.
> 
> I am attaching a Cython module that mostly works. Here is a simple
> example that works in IPython (without the -wthread option!)
[...]
> I don't have any more time to work on this right now, but I at least
> wanted to share my findings with both IPython and matplotlib devs. It
> would be great if someone familiar with wx could try to figure out the
> remaining issues. If there are no takers here, I might eventually see
> if wxpython itself is interested in this code (that is probably where
> it really belongs anyway).
This is cool! It works with mayavi, which is a pretty demanding test. 
I did run into problems with pyximport messing up on some imports but 
manually importing the inputhook.so fixed those. The interactive 
response is not snappy but it definitely works without a problem.
One problem I can see with this is that while it does eliminate the 
threading, there are still issues with multiple toolkits. It would be 
neat if there were a system where you could mix toolkits too -- it looks 
like it should be possible to support this though.
cheers,
prabhu

Showing 5 results of 5

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