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






Showing 6 results of 6

From: <PH...@Ge...> - 2010年02月10日 23:21:08
Attachments: boxplot.patch
> PH...@Ge... wrote:
> > Hey folks,
> >
> > I recently modified the Axes method boxplot so that the confidence
> intervals around the mean are computed not with a static formula, but by
> bootstrapping the median as many times as the user specifies. Also, I
> commented out the lines that prevent the boxplots from folding around the
> hinges (but that's obviously minor and in the current SVN if I'm not
> mistaken).
> >
> > Is this something that would be worth including in matplotlib? I've
> never contributed to a project like this before and my code is probably
> pretty sloppy by MPL standards. I'm not really sure what's appropriate to
> contribute and what's not.
> >
> -----Original Message-----
> From: Andrew Straw [mailto:str...@as...]
> Sent: Wednesday, February 10, 2010 2:20 PM
> To: Paul Hobson
> Cc: mat...@li...
> Subject: Re: [matplotlib-devel] Boxplots with Bootstrapped Intervals
> ...
> I think the best thing to do is to post the patch so that it can be
> reviewed. Sending the output of "svn diff" as an attachment to this
> email list would be easy from our end. (A github based submission --
> fork the repo and push your commits -- would also work well for me, but
> I'm not sure about the other MPL devs.)
Andrew,
Thanks for the reply. At the risk of embarrassment, I'm going to admit that I'm not at all familiar with SVN other than I know that it's version control software. Nonetheless I gave it a shot.
I guess I should add that I didn't account for the fact that the user might want to have the CIs output with the other boxplot properties. Shouldn't be too hard to add in though. Also, I'm using the percentile method -- meaning that after I get my "normal" distribution of medians, I simply use mlab's percentile function to get the 2.5th and 97.5th percentile of that distribution. The other method (bias-corrected and accelerated) was too complex for me to code up quickly without using Rpy2, and that just seemed silly.
Thanks again,
-paul
From: Andrew S. <str...@as...> - 2010年02月10日 22:20:25
PH...@Ge... wrote:
> Hey folks,
>
> I recently modified the Axes method boxplot so that the confidence intervals around the mean are computed not with a static formula, but by bootstrapping the median as many times as the user specifies. Also, I commented out the lines that prevent the boxplots from folding around the hinges (but that's obviously minor and in the current SVN if I'm not mistaken). 
>
> Is this something that would be worth including in matplotlib? I've never contributed to a project like this before and my code is probably pretty sloppy by MPL standards. I'm not really sure what's appropriate to contribute and what's not.
> 
Hi Paul,
This sounds interesting.
I think the best thing to do is to post the patch so that it can be
reviewed. Sending the output of "svn diff" as an attachment to this
email list would be easy from our end. (A github based submission --
fork the repo and push your commits -- would also work well for me, but
I'm not sure about the other MPL devs.)
-Andrew
From: <PH...@Ge...> - 2010年02月10日 20:07:15
Hey folks,
I recently modified the Axes method boxplot so that the confidence intervals around the mean are computed not with a static formula, but by bootstrapping the median as many times as the user specifies. Also, I commented out the lines that prevent the boxplots from folding around the hinges (but that's obviously minor and in the current SVN if I'm not mistaken). 
Is this something that would be worth including in matplotlib? I've never contributed to a project like this before and my code is probably pretty sloppy by MPL standards. I'm not really sure what's appropriate to contribute and what's not.
Regards,
-paul h.
Hi folks,
the message below is an important discussion on which we'd like
feedback/ideas both from Enthought.traits experts and matplotlib ones.
 It would be great if we could keep things in one list, so it seems
most sensible to hold the discussion in the ipython-dev list, but this
is a heads-up in case one of you is interested but may not monitor
ipython-dev.
Thanks!
f
---------- Forwarded message ----------
From: Brian Granger <ell...@gm...>
Date: Tue, Feb 9, 2010 at 11:59 PM
Subject: [IPython-dev] GUI support: conflicts between IPython 0.11 and
Matplotlib/ETS
To: IPython Development list <ipy...@sc...>
Hello all,
As many of you know, we have been working hard on IPython 0.11. One
of the big new features of 0.11 is a refactored integration with GUI
event loops.
We are very excited about this as it is much more stable and add new
capabilities, like being able to enable pylab *after* starting IPython
(it is a magic: %pylab).
BUT, as Fernando and I have started to use the IPython 0.11 alpha for
our daily work, we have found some subtle issue with IPython 0.11 and
the current
versions of matplotlib and Enthought tool suite (traits, chaco,
mayavi). All of these packages rely on IPython's previous way of
handling GUI
integration. Because of this, current versions of matplotlib and ets
don't work fully with IPython 0.11. In some cases, they work OK, but
there are a whole class
of bugs that keep popping up. We don't want to release IPython 0.11
until these issues are resolved.
All of these bugs are related to a few aspects of creating the main
GUI app objects and starting event loops. We think we understand the
issues, but we will
need to work with the devs of matplotlib and ets to decide on how we
all want to handle these things. Here is where we are at...
Current situation
=============
Both matplotlib and ets have code that tries to:
* See what GUI toolkit is being used
* Get the global App object if it already exists, if not create it.
* See if the main loop is running, if not possibly start it.
All of this logic makes many assumptions about how IPython affects the
answers to these
questions. Because IPython's GUI support has changed in significant
ways, current matplotlib
and ets make incorrect decisions about these issues (such as trying to
start the event loop
a second time, creating a second main App ojbect, etc.) under IPython
0.11. This leads to crashes...
Description of GUI support in 0.11
==========================
IPython allows GUI event loops to be run in an interactive IPython session.
This is done using Python's PyOS_InputHook hook which Python calls
when the :func:`raw_input` function is called and is waiting for user input.
IPython has versions of this hook for wx, pyqt4 and pygtk. When the inputhook
is called, it iterates the GUI event loop until a user starts to type
again. When
the user stops typing, the event loop iterates again. This is how tk works.
When a GUI program is used interactively within IPython, the event loop of
the GUI should *not* be started. This is because, the PyOS_Inputhook itself
is responsible for iterating the GUI event loop.
IPython has facilities for installing the needed input hook for each GUI
toolkit and for creating the needed main GUI application object. Usually,
these main application objects should be created only once and for some
GUI toolkits, special options have to be passed to the application object
to enable it to function properly in IPython.
What we need to decide
===================
We need to answer the following questions:
* Who is responsible for creating the main GUI application object, IPython
 or third parties (matplotlib, enthought.traits, etc.)?
* What is the proper way for third party code to detect if a GUI application
 object has already been created? If one has been created, how should
 the existing instance be retrieved?
* In a GUI application object has been created, how should third party code
 detect if the GUI event loop is running. It is not sufficient to call the
 relevant function methods in the GUI toolkits (like ``IsMainLoopRunning``)
 because those don't know if the GUI event loop is running through the
 input hook.
* We might need a way for third party code to determine if it is running
 in IPython or not. Currently, the only way of running GUI code in IPython
 is by using the input hook, but eventually, GUI based versions of IPython
 will allow the GUI event loop in the more traditional manner. We will need
 a way for third party code to distinguish between these two cases.
Thanks for participating in this discussion!
Cheers,
Brian
_______________________________________________
IPython-dev mailing list
IPy...@sc...
http://mail.scipy.org/mailman/listinfo/ipython-dev
From: Ariel R. <ar...@be...> - 2010年02月10日 01:22:48
Hi - mea culpa - as pointed out by a colleague (and documented in the help
document for "hanning" in Matlab), this function produces the same window,
but without the first and last zero-weighted samples.
Cheers -- Ariel
On Tue, Feb 9, 2010 at 4:58 PM, Ariel Rokem <ar...@be...> wrote:
> Hi everyone,
>
> Mystery solved (I think)! It turns out that matlab has two functions, one
> called "hann" and the other called "hanning". They both purport to produce
> the hanning window, but they produce two (slightly) different things. Only
> one of these (the one given by "hann") actually produces the hanning window
> as it is defined in the standard reference on this (Harris 1978. And also
> Wikipedia ;D). When using the "hann" function in Matlab in this little
> experiment, the difference between the python and the matlab results, is on
> the order of %10e-6. I think I am willing to live with that.
>
> The only mystery that remains (I think) is - what is Matlab's "hanning"
> supposed to be doing? Are there two different windows: hann and hanning (not
> "hamming" - I know that's a different one)?
>
> Cheers,
>
> Ariel
>
>
> On Mon, Feb 8, 2010 at 9:32 AM, Ariel Rokem <ar...@be...> wrote:
>
>> Hi -
>>
>> the maximal difference in this case is of about 6 (units?), which is an
>> approximately 50% difference. This is in one point in the spectrum which has
>> a relatively small value - the maximal peaks in the spectra are on the order
>> of 1200, so in the grand scheme of things, not that horrible. Other large
>> differences are on the order of 4, which is approximately 5% or less of
>> those points.
>>
>> Thanks - Ariel
>>
>> PS for some reason, matplotlib-devel will not get your email unless you
>> hit "reply all", so they have been getting my emails, but not yours. I am
>> not sure whether that is what you intended, so I thought I would mention it.
>>
>>
>>
>> On Mon, Feb 8, 2010 at 1:24 AM, Ludwig Schwardt <
>> lud...@gm...> wrote:
>>
>>> Hi,
>>>
>>> On Mon, Feb 8, 2010 at 5:25 AM, Ariel Rokem <ar...@be...> wrote:
>>> > I don't think that the cause of the discrepancy is because of the
>>> > hamming/hanning window difference. I do set the window in the matlab
>>> part to
>>> > also be a hanning window of length nfft.
>>>
>>> I suspected you gave the same window to both, but I was just
>>> checking... :-) To find those smaller discrepancies might be a bit
>>> harder then, requiring a careful comparison of the various steps
>>> involved. Just for interest's sake, how big are the differences we are
>>> talking about?
>>>
>>> Regards,
>>> Ludwig
>>>
>>
>>
>>
>> --
>> Ariel Rokem
>> Helen Wills Neuroscience Institute
>> University of California, Berkeley
>> http://argentum.ucbso.berkeley.edu/ariel
>>
>
>
>
> --
> Ariel Rokem
> Helen Wills Neuroscience Institute
> University of California, Berkeley
> http://argentum.ucbso.berkeley.edu/ariel
>
-- 
Ariel Rokem
Helen Wills Neuroscience Institute
University of California, Berkeley
http://argentum.ucbso.berkeley.edu/ariel
From: Ariel R. <ar...@be...> - 2010年02月10日 00:59:15
Hi everyone,
Mystery solved (I think)! It turns out that matlab has two functions, one
called "hann" and the other called "hanning". They both purport to produce
the hanning window, but they produce two (slightly) different things. Only
one of these (the one given by "hann") actually produces the hanning window
as it is defined in the standard reference on this (Harris 1978. And also
Wikipedia ;D). When using the "hann" function in Matlab in this little
experiment, the difference between the python and the matlab results, is on
the order of %10e-6. I think I am willing to live with that.
The only mystery that remains (I think) is - what is Matlab's "hanning"
supposed to be doing? Are there two different windows: hann and hanning (not
"hamming" - I know that's a different one)?
Cheers,
Ariel
On Mon, Feb 8, 2010 at 9:32 AM, Ariel Rokem <ar...@be...> wrote:
> Hi -
>
> the maximal difference in this case is of about 6 (units?), which is an
> approximately 50% difference. This is in one point in the spectrum which has
> a relatively small value - the maximal peaks in the spectra are on the order
> of 1200, so in the grand scheme of things, not that horrible. Other large
> differences are on the order of 4, which is approximately 5% or less of
> those points.
>
> Thanks - Ariel
>
> PS for some reason, matplotlib-devel will not get your email unless you hit
> "reply all", so they have been getting my emails, but not yours. I am not
> sure whether that is what you intended, so I thought I would mention it.
>
>
> On Mon, Feb 8, 2010 at 1:24 AM, Ludwig Schwardt <lud...@gm...
> > wrote:
>
>> Hi,
>>
>> On Mon, Feb 8, 2010 at 5:25 AM, Ariel Rokem <ar...@be...> wrote:
>> > I don't think that the cause of the discrepancy is because of the
>> > hamming/hanning window difference. I do set the window in the matlab
>> part to
>> > also be a hanning window of length nfft.
>>
>> I suspected you gave the same window to both, but I was just
>> checking... :-) To find those smaller discrepancies might be a bit
>> harder then, requiring a careful comparison of the various steps
>> involved. Just for interest's sake, how big are the differences we are
>> talking about?
>>
>> Regards,
>> Ludwig
>>
>
>
>
> --
> Ariel Rokem
> Helen Wills Neuroscience Institute
> University of California, Berkeley
> http://argentum.ucbso.berkeley.edu/ariel
>
-- 
Ariel Rokem
Helen Wills Neuroscience Institute
University of California, Berkeley
http://argentum.ucbso.berkeley.edu/ariel

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