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






Showing 2 results of 2

From: Chris B. <bea...@ha...> - 2014年08月21日 23:40:12
There are some idiosyncrasies to Anaconda's pythonw -- for example, the
behavior of "-c":
python -c "print 1+2" -> 3
pythonw -c "print 1+2" -> Nothing
/usr/bin/pythonw -c "print 1+2" -> 3
chris
On Thu, Aug 21, 2014 at 6:59 PM, Chris Barker <chr...@no...> wrote:
> On Thu, Aug 21, 2014 at 3:53 PM, Aaron Meurer <aar...@co...>
> wrote:
>
>> The only potential issue I can think of for making python=pythonw is
>> that pythonw is a shell script:
>>
>
> I agree -- that could create issues (though will mostly work, I suppose)
>
> But somehow the python.org build has managed to make a pythonw that IS a
> proper executable:
>
> ORRW-M-1275474:bin chris.barker$ pwd
> /Library/Frameworks/Python.framework/Versions/2.7/bin
>
> ORRW-M-1275474:bin chris.barker$ ls -l pythonw
> lrwxr-xr-x 1 root wheel 8 Jul 16 2013 pythonw -> pythonw2
>
> ORRW-M-1275474:bin chris.barker$ ls -l pythonw2
> lrwxr-xr-x 1 root wheel 10 Jul 16 2013 pythonw2 -> pythonw2.7
>
> ORRW-M-1275474:bin chris.barker$ ls -l pythonw2.7
> -rwxr-xr-x 1 chris.barker admin 9180 May 13 2013 pythonw2.7
>
> ORRW-M-1275474:bin chris.barker$ file pythonw2.7
> pythonw2.7: Mach-O executable i386
>
> (yes, ti works for 64 bit too -- this just happens to be what I have)
>
> It would be nice if Anaconda would do it the same way.
>
> -Chris
>
>
>
>
>
>
>
>> #!/bin/bash
>> export PYTHONEXECUTABLE=/Users/aaronmeurer/anaconda/bin/python
>> /Users/aaronmeurer/anaconda/python.app/Contents/MacOS/python $@
>>
>> This is needed because otherwise Python thinks its sys.prefix is
>> ../../ from the executable, i.e.,
>> /Users/aaronmeurer/anaconda/python.app/Contents/MacOS
>>
>> $~/anaconda/python.app/Contents/MacOS/python
>> Python 3.4.1 |Continuum Analytics, Inc.| (default, Aug 11 2014, 14:17:03)
>> [GCC 4.2.1 (Apple Inc. build 5577)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import sys
>> >>> sys.prefix
>> '/Users/aaronmeurer/anaconda/python.app/Contents'
>>
>> I'm not sure what kinds of issues this would cause having python be a
>> shell script rather than a Mach-O 64-bit x86_64 executable (or a
>> symlink to a Mach-O 64-bit x86_64 executable).
>>
>> I suppose you could do this (replace 3.4 with 2.7 if you use Python 2):
>>
>> $mv ~/anaconda/bin/python3.4 ~/anaconda/bin/python3.4-orig
>> $ln -s ~/anaconda/bin/pythonw /Users/aaronmeurer/anaconda/bin/python3.4
>>
>> and see if anything breaks (or if you don't want to risk breaking your
>> main Python install, do it in a separate conda environment).
>>
>> Aaron Meurer
>>
>>
>> On Fri, Aug 15, 2014 at 2:37 PM, Derek Homeier
>> <de...@as...> wrote:
>> > On 14 Aug 2014, at 11:40 pm, Chris Barker <chr...@no...>
>> wrote:
>> >
>> >> On Thu, Aug 14, 2014 at 12:07 PM, Eric Firing <efi...@gm...>
>> wrote:
>> >> but as far as I can see, on OSX, there is no *advantage* to
>> non-framework python. Is this correct?
>> >>
>> >> Suggestion for anaconda:
>> >> make bin/python a link to ../python.app/Contents/MacOS/python
>> >>
>> >> NOTE: the python.org python build has been doing this (or something
>> like it) for years and many versions -- I had gotten pretty used to it and
>> was pretty annoyed when I discovered Anaconda keeps anon-framework binary
>> as the default.
>> >>
>> >> It was annoying enough that I had to explicitly call pythonw (or alter
>> the #! line) for my wxPython scripts, but with ipython it's even worse --
>> how would I start up ipython with a framework build?
>> >>
>> >> NOTE: if the Anaconda folks really think there is a real downside to
>> using the framework executable for the default python, maybe the ipython
>> start up script could use pythonw ?
>> >>
>> >> Eric - have you tried recent MPL with the python.org builds to
>> confirm the issue? I'm a bit surprised that it would even semi-work -- when
>> I try wxPython with the regular executable, I get an error message and it
>> wont run at all.
>> >>
>> > Just to make sure I understand - this is about whether the MPL macosx
>> backend would run with non-framework
>> > Python at all? It certainly should not, as _macosx.m has been enforcing
>> an error in this case for some versions.
>> > That put aside, when I disable the error at the end of _macosx.m I
>> found the OSX backend to still work as it used
>> > to under OS X 10.9 with the Fink Python installation (which is not
>> built as a framework, and unfortunately unlikely
>> > to change in foreseeable time). I.e. the only obvious problem is the
>> lack of control by the window manager.
>> > Overall I still find it to perform better than any of the alternative
>> backends. But having switched to PyQT4 as the
>> > default backend due to the above Fink troubles, I did notice some
>> oddities under Mavericks. I have no idea if they
>> > are related to the problems Eric had originally reported, but they are
>> clearly Mavericks-specific:
>> >
>> > When using MPL with ipython --pylab and the Quartz version of PyQT4,
>> the interpreter seems to be slow down
>>
>> > extremely after running for a little while. Weirdly this is not
>> connected to any graphics display and in fact happens
>> > even without any plotting window opened, i.e. the ipython shell just
>> randomly becomes completely unresponsive
>> > and hangs for several seconds on simple tasks like typing or navigating
>> through history. The plotting itself actually
>> > does not appear to perform any worse than it used to under Mountain
>> Lion.
>> > None of this seems to occur with the X11 variant of PyQT4.
>> > When launching ipython without the --pylab flag and loading MPL later
>> (e.g. with 'import matplotlib' in the ipython
>>
>> > profile), none of these stalls or hangups occur, but plots sometimes
>> seem not to refresh properly even with a
>> > plt.draw() and one has to manually resize the plot window to force
>> redrawing of the figure.
>> > This might be primarily a PyQT4 or Ipython issue, but obviously it is
>> somehow connected to the pylab mode of Ipython.
>> >
>> > Cheers,
>> > Derek
>> >
>> > --
>> > Anaconda Community Support Group Brought to you by Continuum Analytics
>> > ---
>> > You received this message because you are subscribed to the Google
>> Groups "Anaconda - Public" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an email to ana...@co....
>> > To post to this group, send email to ana...@co....
>> > Visit this group at
>> http://groups.google.com/a/continuum.io/group/anaconda/.
>>
>
>
>
> --
>
> 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...
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds. Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
-- 
*************************************
Chris Beaumont
Senior Software Engineer
Harvard Center for Astrophysics
60 Garden Street, MS 42
Cambridge, MA 02138
chrisbeaumont.org
*************************************
From: Chris B. <chr...@no...> - 2014年08月21日 23:00:18
On Thu, Aug 21, 2014 at 3:53 PM, Aaron Meurer <aar...@co...>
wrote:
> The only potential issue I can think of for making python=pythonw is
> that pythonw is a shell script:
>
I agree -- that could create issues (though will mostly work, I suppose)
But somehow the python.org build has managed to make a pythonw that IS a
proper executable:
ORRW-M-1275474:bin chris.barker$ pwd
/Library/Frameworks/Python.framework/Versions/2.7/bin
ORRW-M-1275474:bin chris.barker$ ls -l pythonw
lrwxr-xr-x 1 root wheel 8 Jul 16 2013 pythonw -> pythonw2
ORRW-M-1275474:bin chris.barker$ ls -l pythonw2
lrwxr-xr-x 1 root wheel 10 Jul 16 2013 pythonw2 -> pythonw2.7
ORRW-M-1275474:bin chris.barker$ ls -l pythonw2.7
-rwxr-xr-x 1 chris.barker admin 9180 May 13 2013 pythonw2.7
ORRW-M-1275474:bin chris.barker$ file pythonw2.7
pythonw2.7: Mach-O executable i386
(yes, ti works for 64 bit too -- this just happens to be what I have)
It would be nice if Anaconda would do it the same way.
-Chris
> #!/bin/bash
> export PYTHONEXECUTABLE=/Users/aaronmeurer/anaconda/bin/python
> /Users/aaronmeurer/anaconda/python.app/Contents/MacOS/python $@
>
> This is needed because otherwise Python thinks its sys.prefix is
> ../../ from the executable, i.e.,
> /Users/aaronmeurer/anaconda/python.app/Contents/MacOS
>
> $~/anaconda/python.app/Contents/MacOS/python
> Python 3.4.1 |Continuum Analytics, Inc.| (default, Aug 11 2014, 14:17:03)
> [GCC 4.2.1 (Apple Inc. build 5577)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import sys
> >>> sys.prefix
> '/Users/aaronmeurer/anaconda/python.app/Contents'
>
> I'm not sure what kinds of issues this would cause having python be a
> shell script rather than a Mach-O 64-bit x86_64 executable (or a
> symlink to a Mach-O 64-bit x86_64 executable).
>
> I suppose you could do this (replace 3.4 with 2.7 if you use Python 2):
>
> $mv ~/anaconda/bin/python3.4 ~/anaconda/bin/python3.4-orig
> $ln -s ~/anaconda/bin/pythonw /Users/aaronmeurer/anaconda/bin/python3.4
>
> and see if anything breaks (or if you don't want to risk breaking your
> main Python install, do it in a separate conda environment).
>
> Aaron Meurer
>
> On Fri, Aug 15, 2014 at 2:37 PM, Derek Homeier
> <de...@as...> wrote:
> > On 14 Aug 2014, at 11:40 pm, Chris Barker <chr...@no...> wrote:
> >
> >> On Thu, Aug 14, 2014 at 12:07 PM, Eric Firing <efi...@gm...>
> wrote:
> >> but as far as I can see, on OSX, there is no *advantage* to
> non-framework python. Is this correct?
> >>
> >> Suggestion for anaconda:
> >> make bin/python a link to ../python.app/Contents/MacOS/python
> >>
> >> NOTE: the python.org python build has been doing this (or something
> like it) for years and many versions -- I had gotten pretty used to it and
> was pretty annoyed when I discovered Anaconda keeps anon-framework binary
> as the default.
> >>
> >> It was annoying enough that I had to explicitly call pythonw (or alter
> the #! line) for my wxPython scripts, but with ipython it's even worse --
> how would I start up ipython with a framework build?
> >>
> >> NOTE: if the Anaconda folks really think there is a real downside to
> using the framework executable for the default python, maybe the ipython
> start up script could use pythonw ?
> >>
> >> Eric - have you tried recent MPL with the python.org builds to confirm
> the issue? I'm a bit surprised that it would even semi-work -- when I try
> wxPython with the regular executable, I get an error message and it wont
> run at all.
> >>
> > Just to make sure I understand - this is about whether the MPL macosx
> backend would run with non-framework
> > Python at all? It certainly should not, as _macosx.m has been enforcing
> an error in this case for some versions.
> > That put aside, when I disable the error at the end of _macosx.m I found
> the OSX backend to still work as it used
> > to under OS X 10.9 with the Fink Python installation (which is not built
> as a framework, and unfortunately unlikely
> > to change in foreseeable time). I.e. the only obvious problem is the
> lack of control by the window manager.
> > Overall I still find it to perform better than any of the alternative
> backends. But having switched to PyQT4 as the
> > default backend due to the above Fink troubles, I did notice some
> oddities under Mavericks. I have no idea if they
> > are related to the problems Eric had originally reported, but they are
> clearly Mavericks-specific:
> >
> > When using MPL with ipython --pylab and the Quartz version of PyQT4, the
> interpreter seems to be slow down
> > extremely after running for a little while. Weirdly this is not
> connected to any graphics display and in fact happens
> > even without any plotting window opened, i.e. the ipython shell just
> randomly becomes completely unresponsive
> > and hangs for several seconds on simple tasks like typing or navigating
> through history. The plotting itself actually
> > does not appear to perform any worse than it used to under Mountain Lion.
> > None of this seems to occur with the X11 variant of PyQT4.
> > When launching ipython without the --pylab flag and loading MPL later
> (e.g. with 'import matplotlib' in the ipython
> > profile), none of these stalls or hangups occur, but plots sometimes
> seem not to refresh properly even with a
> > plt.draw() and one has to manually resize the plot window to force
> redrawing of the figure.
> > This might be primarily a PyQT4 or Ipython issue, but obviously it is
> somehow connected to the pylab mode of Ipython.
> >
> > Cheers,
> > Derek
> >
> > --
> > Anaconda Community Support Group Brought to you by Continuum Analytics
> > ---
> > You received this message because you are subscribed to the Google
> Groups "Anaconda - Public" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to ana...@co....
> > To post to this group, send email to ana...@co....
> > Visit this group at
> http://groups.google.com/a/continuum.io/group/anaconda/.
>
-- 
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...

Showing 2 results of 2

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