SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S
1
(8)
2
(14)
3
(22)
4
(13)
5
(11)
6
(12)
7
(4)
8
(6)
9
(19)
10
(14)
11
(16)
12
(6)
13
(15)
14
(6)
15
(8)
16
(22)
17
(17)
18
(8)
19
(16)
20
(19)
21
(3)
22
(6)
23
(18)
24
(26)
25
(17)
26
(13)
27
(18)
28
(8)
29
30
(14)
31
(30)




Showing results of 394

<< < 1 .. 10 11 12 13 14 .. 16 > >> (Page 12 of 16)
From: Jonathan T. <jon...@ut...> - 2009年03月11日 00:08:57
This looks very cool. I will check it out.
Thanks,
J.
On Tue, Mar 10, 2009 at 5:19 PM, Pierre Raybaut <co...@py...> wrote:
> Hi all,
>
> Two months ago, I made an announcement regarding a little open-source
> project of mine, PyQtShell -- that is a module providing embeddable
> console widgets for your PyQt applications (interactive Python shell,
> workspace, working directory browser, editor, ...) as well as "Pydee", a
> PYthon Development EnvironmEnt based on these widgets (which could
> become an interesting alternative to IDLE for example).
>
> Pydee features have been greatly enhanced these last weeks, and a lot of
> bugs were fixed thanks to Christopher Brown (thank you again Christopher
> for your bug reports/feature requests which are always very detailed and
> constructive).
>
> I recently (a few minutes ago actually..) added an interesting feature
> in Pydee v0.3.0: matplotlib integration (i.e. matplotlib figures can be
> docked inside Pydee which is quite convenient).
> See this screenshot for example:
> http://source.pythonxy.com/PyQtShell/screenshots/ss3.png
>
> Other screenshots and informations:
> http://pypi.python.org/pypi/PyQtShell/
> http://code.google.com/p/pyqtshell/
>
> As some of you may have noticed, Pydee is intended to be a mini-MATLAB
> environment -- that being said, it still at an early stage of development.
>
> Cheers,
> Pierre
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Jonathan T. <jon...@ut...> - 2009年03月11日 00:02:00
I don't know if there is a betteer way to do it, but I think you can
just attach a text artist to the figures canvas.
Best,
J.
On Mon, Mar 9, 2009 at 12:15 PM, Gökhan SEVER <gok...@gm...> wrote:
> Hello,
>
> I have six subplots in my canvas, and wondering how to place a common ylabel
> into the canvas in matplotlib? (Let say instead of having six same text on
> the y-axes just to replace them with one bigger text encompassing all six
> y-axes.)
>
> Is this available in ml or am I too blind to see this feature?
>
> Thanks,
>
> Gökhan
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a 600ドル discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
From: Chip W. <chi...@gm...> - 2009年03月10日 21:32:04
Does this get you close? It seems what your trying to do might be a bit 
ambiguous, but I understand the problem with the y-axis when there are 
lots of subplots.
Maybe it would be better to change the y-ticker to make fewer ticks or 
the labels to be smaller.
-Chip
from matplotlib import pyplot as plt
t = [0,1]
y=[0,1]
fig = plt.figure()
plt.axes([0.1,0.1,0.8,0.8], frameon=True, axisbg='w')
ax = fig.add_subplot(211)
plt.setp(ax.get_yticklabels(), visible=False)
plt.plot(t,y)
ax = fig.add_subplot(212)
plt.setp(ax.get_yticklabels(), visible=False)
plt.plot(t,y)
plt.show()
Gökhan SEVER wrote:
> Hello,
> 
> I have six subplots in my canvas, and wondering how to place a common 
> ylabel into the canvas in matplotlib? (Let say instead of having six 
> same text on the y-axes just to replace them with one bigger text 
> encompassing all six y-axes.)
> 
> Is this available in ml or am I too blind to see this feature?
> 
> Thanks,
> 
> Gökhan
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a 600ドル discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Pierre R. <co...@py...> - 2009年03月10日 21:18:57
Hi all,
Two months ago, I made an announcement regarding a little open-source 
project of mine, PyQtShell -- that is a module providing embeddable 
console widgets for your PyQt applications (interactive Python shell, 
workspace, working directory browser, editor, ...) as well as "Pydee", a 
PYthon Development EnvironmEnt based on these widgets (which could 
become an interesting alternative to IDLE for example).
Pydee features have been greatly enhanced these last weeks, and a lot of 
bugs were fixed thanks to Christopher Brown (thank you again Christopher 
for your bug reports/feature requests which are always very detailed and 
constructive).
I recently (a few minutes ago actually..) added an interesting feature 
in Pydee v0.3.0: matplotlib integration (i.e. matplotlib figures can be 
docked inside Pydee which is quite convenient).
See this screenshot for example:
http://source.pythonxy.com/PyQtShell/screenshots/ss3.png
Other screenshots and informations:
http://pypi.python.org/pypi/PyQtShell/
http://code.google.com/p/pyqtshell/
As some of you may have noticed, Pydee is intended to be a mini-MATLAB 
environment -- that being said, it still at an early stage of development.
Cheers,
Pierre
From: Jouni K. S. <jk...@ik...> - 2009年03月10日 20:50:06
Jörgen Stenarson <jor...@bo...> writes:
> I have been unable to get the pdf backend to respect the settings for 
> solid_joinstyle properly.
Fixed on the trunk; the test case is examples/api/joinstyle.py. Thanks
for your report!
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Michael D. <md...@st...> - 2009年03月10日 19:07:55
Christopher Barker wrote:
> Michael Droettboom wrote:
> 
>> The PSF will do the work of applying to Google -- we can encourage 
>> prospective students and mentors to apply through the PSF.
>> 
>
> hmmm -- I wonder if that is best -- it would put MPL projects in 
> competition with all other python projects.
>
> My first thought is that a SciPy application would be best -- with 
> SciPy, numpy, MPL, Sage, Cython, etc, it's plenty big, but would have a 
> bit more focus.
>
> As an example, wxPython has been a mentoring organization for the last 
> few years.
>
> Not that I'm volunteering to put together the application....
> 
There's the kicker -- I believe (and I haven't been heavily involved in 
this, so correct me if I'm wrong) the due date for applications is this 
Friday. I don't have time to do that either. MPL tagged along with the 
PSF last year and it worked great (very low administrative overhead for 
us mentors), until it fell through for unrelated reasons.
Cheers,
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Jarrod M. <mi...@be...> - 2009年03月10日 19:07:51
On Tue, Mar 10, 2009 at 11:32 AM, Christopher Barker
<Chr...@no...> wrote:
> hmmm -- I wonder if that is best -- it would put MPL projects in
> competition with all other python projects.
>
> My first thought is that a SciPy application would be best -- with
> SciPy, numpy, MPL, Sage, Cython, etc, it's plenty big, but would have a
> bit more focus.
I spoke with the SoC coordinator about this last year and was told
they would prefer us to stay under the PSF umbrella. This year they
plan to sponsor fewer mentoring organizations, I believe (so less
chance we would get accepted). Finally, the deadline for submitting
an application to be a mentoring organization is Friday (March 13) at
12 noon PDT:
http://code.google.com/opensource/gsoc/2009/faqs.html#0_1_mentoring_orgs_52990812492_14255507054617844
From: Christopher B. <Chr...@no...> - 2009年03月10日 18:32:44
Michael Droettboom wrote:
> The PSF will do the work of applying to Google -- we can encourage 
> prospective students and mentors to apply through the PSF.
hmmm -- I wonder if that is best -- it would put MPL projects in 
competition with all other python projects.
My first thought is that a SciPy application would be best -- with 
SciPy, numpy, MPL, Sage, Cython, etc, it's plenty big, but would have a 
bit more focus.
As an example, wxPython has been a mentoring organization for the last 
few years.
Not that I'm volunteering to put together the application....
-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: Jörgen S. <jor...@bo...> - 2009年03月10日 18:08:01
Hi,
I have been unable to get the pdf backend to respect the settings for 
solid_joinstyle properly. When doing a plot using the default 
matplotlibrc I get rounded joins when saving as png but mitered when 
using pdf. I have also tried to set the joinstyle="round" directly in 
the plot command with the same result, pdf ignores the setting but png 
respects it.
I'm using a current build from svn on windows with python 2.5
/Jörgen
From: Michael D. <md...@st...> - 2009年03月10日 14:16:13
I have added these proposals to the PSF's GSoC 2009 wiki page here:
http://wiki.python.org/moin/SummerOfCode/2009
Feel free to add more ideas there.
The PSF will do the work of applying to Google -- we can encourage 
prospective students and mentors to apply through the PSF.
Cheers,
Mike
John Hunter wrote:
>
>
> On Tue, Mar 10, 2009 at 7:33 AM, Michael Droettboom <md...@st... 
> <mailto:md...@st...>> wrote:
>
> I think that's a great project idea -- nice and contained with an
> obvious goal. I'd be happy to help out with that, as I probably
> know as
> much about the new backend interfaces as anyone.
>
> I am also willing to mentor the project I volunteered for last
> year (the
> student dropped out in the eleventh hour). That was to extract
> the math
> expression rendering engine out as a separate project. It's hairier
> than it sounds, because it requires separating out the freetype
> wrappers
> as well, and parts of all the backends. But this is something the
> Sympy
> and Sage folks were very interested in last year as well.
>
>
> That's great Michael -- can you take the lead to get us registered by 
> the March 13th deadline? I'm able to spend some time helping mentor 
> as well.
>
> JDH
>
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: John H. <jd...@gm...> - 2009年03月10日 13:16:06
On Tue, Mar 10, 2009 at 7:33 AM, Michael Droettboom <md...@st...> wrote:
> I think that's a great project idea -- nice and contained with an
> obvious goal. I'd be happy to help out with that, as I probably know as
> much about the new backend interfaces as anyone.
>
> I am also willing to mentor the project I volunteered for last year (the
> student dropped out in the eleventh hour). That was to extract the math
> expression rendering engine out as a separate project. It's hairier
> than it sounds, because it requires separating out the freetype wrappers
> as well, and parts of all the backends. But this is something the Sympy
> and Sage folks were very interested in last year as well.
>
That's great Michael -- can you take the lead to get us registered by the
March 13th deadline? I'm able to spend some time helping mentor as well.
JDH
From: Kasper P. <kas...@ae...> - 2009年03月10日 12:48:23
> That was to extract the math expression rendering engine out as a
> separate project. It's hairier than it sounds, because it requires
> separating out the freetype wrappers as well, and parts of all the
> backends. But this is something the Sympy and Sage folks were very
> interested in last year as well.
Yes please. This would be extremely useful, not just for sympy and
sage. 
Cheers,
Kasper
From: Michael D. <md...@st...> - 2009年03月10日 12:34:17
I think that's a great project idea -- nice and contained with an 
obvious goal. I'd be happy to help out with that, as I probably know as 
much about the new backend interfaces as anyone.
I am also willing to mentor the project I volunteered for last year (the 
student dropped out in the eleventh hour). That was to extract the math 
expression rendering engine out as a separate project. It's hairier 
than it sounds, because it requires separating out the freetype wrappers 
as well, and parts of all the backends. But this is something the Sympy 
and Sage folks were very interested in last year as well.
Cheers,
Mike
jas...@cr... wrote:
> Is matplotlib planning on applying to be a mentoring organization for 
> Google Summer of Code? If so, may I suggest that an html5/canvas 
> backend (with interactive features) would be a fantastic project that 
> would benefit a wide range of people?
>
> Thanks,
>
> Jason
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a 600ドル discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Marjolaine R. <mro...@cs...> - 2009年03月10日 07:38:29
Hi Jeff,
Yes, I think this is what I needed. Many thanks.
Marjolaine. 
 
>>> Jeff Whitaker <js...@fa...> 03/09/09 5:21 PM >>> 
Marjolaine Rouault wrote:
> Hi,
>
> I am trying to extract a a line (or transect) of data across a 2 dimensional array. I want to know what the best way of finding data points within my 2D dataset closest to each point on my line. Is there a matplotlib pre-defined function to find the closest point within a radius or must I create my own?
>
> Thanks a lot, Marjolaine.
> 
Marjolaine: Sounds like what you want is nearest neighbor interpolation. The Basemap toolkit has an interp function that can do bilinear or nearest neighbor interpolation. It's typically used for regridding, but I think it will work for your use case too.
Here's some pseudo-code:
from mpl_toolkits.basemap import interp
# here datarr is 2d data array on a regular grid with x,y coordinates
# defined by 1-d arrays x,y. The arrays xout, yout describe the points
# on the transect. order=0 means nearest neighbor interp, order=1 means bilinear.
# dataout is the data interpolated to the transect.
dataout = interp(datarr,x,y,xout,yout,order=0)
-Jeff
-- 
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
-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
Chicago Python User Group
=========================
For the first time ever (not really) ChiPy will return to the same 
venue two months in a row! Sully's on the North Side, Near North and 
Clybourn.
Heading off the ChiPy efforts will be another sequel from last month. 
James Snyder will focus his ninja powers on all things scientific: 
NumPy, SciPy and Matplotlib.
Frank Duncan will extend the popular text editor VIM with pure Python 
(no vimscript or Lisp required!) allowing asynchronous communication 
to various other systems to build a better overall development 
environment. Or if you aren't into that sort of thing, you can at 
least extend vim with less pain and hassle.
Garrett Smith will present on Thrift with examples of Java/Python/C 
cross communication. Thrift is a software framework for scalable cross- 
language services development.
Our host for the meeting is Sully's House Tap Room & Grill. All ages 
are welcome to this Free Private Event. For those of age, Sully’s 
House offer 20 Beers on tap, and 35 Bottles - all craft and 
microbrewery, specializing in Belgium, Irish and German selections. 
Enjoy great Bar Food & Pizza from our Italian Oven and Daily 
discounted menu specials. The host has given us a dedicated 
bartender. We will meet in the private party room on the second floor 
that is well equipped with top of the line video equipment – 100" HD 
screen & full A/V accessibility with Rock Band & Wii. Nice big space, 
bring a friend. Thanks Sully's!!!
This *will* be our best meeting yet.
Topics
------
 * Scientific with NumPy, SciPy and matplotlib ... -- James (30min)
 * Extend VIM -- Frank (30min)
 * Thrift with examples of Java/Python/C cross communication. -- 
Garrett (30min)
When
----
Thursday, March 12th, ~7pm
Location
--------
Sully’s House Tap Room & Grill, 1501 N. Dayton St. Chicago, Illinois 
60622
At the corner of Blackhawk and Dayton http://www.sullyshouse.com/
(2) Blocks from the North & Clybourn Red Line stop. Free street 
parking available.
About ChiPy
-----------
ChiPy is a group of Chicago Python Programmers, l33t, and n00bs.
Meetings are held monthly at various locations around Chicago.
Also, ChiPy is a proud sponsor of many Open Source and Educational
efforts in Chicago. Stay tuned to the mailing list for more info.
ChiPy website: <http://chipy.org>
ChiPy Mailing List: <http://mail.python.org/mailman/listinfo/chicago>
ChiPy Announcement *ONLY* Mailing List: <http://mail.python.org/mailman/listinfo/chipy-announce 
 >
Python website: <http://python.org>
From: Fernando P. <fpe...@gm...> - 2009年03月10日 00:46:37
Hi folks,
On Wed, Mar 4, 2009 at 6:51 AM, Fernando Perez <fpe...@gm...> wrote:
> Hi all,
>
> sorry for the spam, but in case any of you are coming to the SIAM
> Conference on Computational Science and Engineering (CSE09) in Miami:
>
> http://www.siam.org/meetings/cse09/
A little trip report:
http://fdoperez.blogspot.com/2009/03/python-at-siam-cse09-meeting.html
and the slides I have so far, for those who may be interested (I'll
continue to add more as I get them):
https://cirl.berkeley.edu/fperez/py4science/2009_siam_cse/
Thanks to all the speakers!
Cheers,
f
From: Christopher B. <Chr...@no...> - 2009年03月09日 23:29:54
jas...@cr... wrote:
> John Hunter wrote:
>> We could probably supervise a student who was interested in this. We 
>> haven't brought it up for 2009, though we did mentor a student several 
>> years ago. Do you have someone in mind who would be interested in this?
Don't wait for an interested student to register -- if you have a couple 
people that have the time and inclination to mentor -- apply, students 
will come, and if no good ones do, you don't have to do it.
I recommend it -- mentoring is fun and rewarding, and you can get some 
good work done.
Maybe a SciPY application would make sense, and then we could accept 
proposals for numpy, MPL, SAGE, etc...
-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: Jae-Joon L. <lee...@gm...> - 2009年03月09日 22:46:02
I have no idea whether this is related with the GIL. Anyhow, you may
work around this by running the blocking function in a separate
thread, although I only tested this with Gtk backends. Here is a
related post.
http://sourceforge.net/mailarchive/forum.php?thread_name=6e8d907b0803101609s7bd8fecaj851a6ecf1ab2a316%40mail.gmail.com&forum_name=matplotlib-devel
It is based on the old version of mpl but still seems to work.
The recent version of the mpl have better support for this
(blocking_input.py) and the code should be reimplemented.
-JJ
On Mon, Mar 9, 2009 at 4:32 PM, Jonathan Taylor
<jon...@ut...> wrote:
> Yes I already use this, but I think the problem is that the other
> toolkits need the GIL to update but raw_input() also grabs the GIL so
> you cannot examine your plot in a pause (i.e. raw_input()). I think
> that TK is able to avoid this problem as a side effect of being in a
> "C thread" instead of a python thread which is a side effect of being
> part of the python distribution. I think.
>
> Jon.
>
> On Mon, Mar 9, 2009 at 4:13 PM, Sandro Tosi <mo...@de...> wrote:
>> On Sun, Mar 8, 2009 at 21:03, Jonathan Taylor
>> <jon...@ut...> wrote:
>>> Wow... changing to TkAgg backend makes raw_input() just work. I
>>> suppose this is because the Tk thread does not need the GIL to render?
>>> Is there a downside to using TkAgg? I am also noticing that it is
>>> much faster than GtkAgg.
>>
>> If you want different backends than tkagg (that plays nice with
>> interactive interpreters), you could try
>>
>> $ ipython -pylab
>>
>> that is able to identify the wanted backend and work correctly with it
>> while keeping the interactive prompt available.
>>
>> Cheers,
>> --
>> Sandro Tosi (aka morph, morpheus, matrixhasu)
>> My website: http://matrixhasu.altervista.org/
>> Me at Debian: http://wiki.debian.org/SandroTosi
>>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a 600ドル discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: <jas...@cr...> - 2009年03月09日 21:30:36
John Hunter wrote:
>
>
> On Mon, Mar 9, 2009 at 3:41 PM, <jas...@cr... 
> <mailto:jas...@cr...>> wrote:
>
> Is matplotlib planning on applying to be a mentoring organization for
> Google Summer of Code? If so, may I suggest that an html5/canvas
> backend (with interactive features) would be a fantastic project that
> would benefit a wide range of people?
>
>
>
> We could probably supervise a student who was interested in this. We 
> haven't brought it up for 2009, though we did mentor a student several 
> years ago. Do you have someone in mind who would be interested in this?
>
> JDH
I don't have a particular student in mind, but the idea was brought up 
on the sage development list. There, it seems like there may be several 
people interested (thought I don't know if they are qualifying 
students). I'm CCing this to the sage-devel list as well. If you are a 
student who would like to contribute to matplotlib and get paid for it, 
speak up so that we know there is interest!
I bring this up since I believe that the deadline for a mentoring 
organization to apply is this Friday (13 Mar). See 
http://socghop.appspot.com/document/show/program/google/gsoc2009/faqs#org_apply
I wouldn't be qualified to mentor this (time-wise or 
experience-with-matplotlib-wise), but I am certainly cheering it on!
Thanks,
Jason
From: Craig D S. <cr...@dc...> - 2009年03月09日 21:12:01
HI,
im running the latest version of matplotlib on osX. I write my script and execute it in iterm with python script.py and it works great. However matplotlib window doesn't close on a keyboard interrupt, only closing once the matplotlib window is selected again. A minor inconvenience, but one that adds precious seconds to each dev. cycle. Any suggestions on how to fix this? 
Craig Stewart
PhD Research Student
Negotiated Interaction
Department of Computing Science
University of Glasgow
Glasgow G128QQ
Scotland, UK
From: John H. <jd...@gm...> - 2009年03月09日 21:03:43
On Mon, Mar 9, 2009 at 3:41 PM, <jas...@cr...> wrote:
> Is matplotlib planning on applying to be a mentoring organization for
> Google Summer of Code? If so, may I suggest that an html5/canvas
> backend (with interactive features) would be a fantastic project that
> would benefit a wide range of people?
We could probably supervise a student who was interested in this. We
haven't brought it up for 2009, though we did mentor a student several years
ago. Do you have someone in mind who would be interested in this?
JDH
From: <jas...@cr...> - 2009年03月09日 20:41:22
Is matplotlib planning on applying to be a mentoring organization for 
Google Summer of Code? If so, may I suggest that an html5/canvas 
backend (with interactive features) would be a fantastic project that 
would benefit a wide range of people?
Thanks,
Jason
From: Jonathan T. <jon...@ut...> - 2009年03月09日 20:32:58
Yes I already use this, but I think the problem is that the other
toolkits need the GIL to update but raw_input() also grabs the GIL so
you cannot examine your plot in a pause (i.e. raw_input()). I think
that TK is able to avoid this problem as a side effect of being in a
"C thread" instead of a python thread which is a side effect of being
part of the python distribution. I think.
Jon.
On Mon, Mar 9, 2009 at 4:13 PM, Sandro Tosi <mo...@de...> wrote:
> On Sun, Mar 8, 2009 at 21:03, Jonathan Taylor
> <jon...@ut...> wrote:
>> Wow... changing to TkAgg backend makes raw_input() just work. I
>> suppose this is because the Tk thread does not need the GIL to render?
>> Is there a downside to using TkAgg? I am also noticing that it is
>> much faster than GtkAgg.
>
> If you want different backends than tkagg (that plays nice with
> interactive interpreters), you could try
>
> $ ipython -pylab
>
> that is able to identify the wanted backend and work correctly with it
> while keeping the interactive prompt available.
>
> Cheers,
> --
> Sandro Tosi (aka morph, morpheus, matrixhasu)
> My website: http://matrixhasu.altervista.org/
> Me at Debian: http://wiki.debian.org/SandroTosi
>
From: Sandro T. <mo...@de...> - 2009年03月09日 20:13:47
On Sun, Mar 8, 2009 at 21:03, Jonathan Taylor
<jon...@ut...> wrote:
> Wow... changing to TkAgg backend makes raw_input() just work. I
> suppose this is because the Tk thread does not need the GIL to render?
> Is there a downside to using TkAgg? I am also noticing that it is
> much faster than GtkAgg.
If you want different backends than tkagg (that plays nice with
interactive interpreters), you could try
$ ipython -pylab
that is able to identify the wanted backend and work correctly with it
while keeping the interactive prompt available.
Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: Jeremy C. <jer...@gm...> - 2009年03月09日 20:04:23
On Mon, Mar 9, 2009 at 12:08 PM, John Hunter <jd...@gm...> wrote:
>
>
> On Mon, Mar 9, 2009 at 10:43 AM, Jeremy Conlin <jer...@gm...> wrote:
>
>> I am using Mac OS X 10.5.5 and have installed Enthought's latest Python
>> distribution which includes Matplotlib 0.98.3. I get a fatal python error
>> whenever I try to import matplotlib.pyplot. The exact message I get is:
>> Fatal Python error: Interpreter not initialized (version mismatch?)
>> Abort trap
>>
>> Has anyone else had a problem with this? Please help me because I can't
>> do any plotting until it's fixed!
>>
>
>
> So you haven't installed matplotlib or wxpython separately? This error can
> arise when the version of python that built the extension is not the same as
> the version of python you are running. I suggest making sure you have a
> clean install of enthought python (remove the install dir entirely),
> reinstall it, and if you still see the same problem report it on the
> enthought list because it looks like a build problem more than a matplotlib
> problem.
>
I did not install matplotlib seperately. A while back I did play with
wxpython and wxwidgets, but my Python script that uses those libraries still
work well. I did just reinstall my enthought python this morning when I was
having these problems. I didn't delete anything before installing, I just
assumed it would overwrite the old/bad stuff.
>
> Before you report, you may want to do some extra diagnostics. Eg create a
> script like
>
> import matplotlib
> matplotlib.use('Agg')
> import matplotlib.pyplot
>
>
> and try running this script, replacing 'Agg' with 'PS', 'PDF', 'TkAgg' and
> 'WXAgg' and noting whether all fail in the same way, or if only some do.
Now this was a good idea. Every backend worked except TkAgg which was my
default specified in my ~/.matplotlib/matplotlibrc file.
Jeremy
15 messages has been excluded from this view by a project administrator.

Showing results of 394

<< < 1 .. 10 11 12 13 14 .. 16 > >> (Page 12 of 16)
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 によって変換されたページ (->オリジナル) /