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


Showing results of 144

<< < 1 .. 3 4 5 6 > >> (Page 5 of 6)
From: Jouni K. S. <jk...@ik...> - 2011年03月06日 06:26:20
Eric Firing <ef...@ha...> writes:
> While in the middle of overhauling make.osx, I think it makes sense to 
> go ahead and fix the ARCH_FLAGS variable, and then use it throughout in 
> place of the hardwired ARCH_FLAGS. That will make it easier to use the 
> makefile on a range of OS X and Xcode versions. It is also simply a 
> cleaner design.
I think I fixed this - my commit is now part of
https://github.com/matplotlib/matplotlib/pull/17
> Newer versions of the libraries can also be used, although this is not 
> critical. v1.0.x still needs the 1.2 series of libpng, but master can 
> now handle
>
> ZLIBVERSION=1.2.5
> PNGVERSION=1.5.1
> FREETYPEVERSION=2.4.4
I think we should keep the changes to v1.0.x minimal - in master it
makes sense to upgrade to the newest versions. I'll make a separate pull
request for master.
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Gökhan S. <gok...@gm...> - 2011年03月06日 00:15:24
Hi,
Definitely a minor issue but I see the csd demo image a bit clipped from the
left and the top subplot mixed with the bottom one on
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.csd
Looks fine when I locally run the csd_demo.py example.
-- 
Gökhan
From: Fernando G. B. <fg...@ee...> - 2011年03月05日 22:56:40
On Sat, Mar 5, 2011 at 10:34, Eric Firing <ef...@ha...> wrote:
> Newer versions of the libraries can also be used, although this is not
> critical. v1.0.x still needs the 1.2 series of libpng, but master can
> now handle
>
> ZLIBVERSION=1.2.5
> PNGVERSION=1.5.1
> FREETYPEVERSION=2.4.4
>
We have to make sure to check/update the urls to the new versions of these
dependencies. I'm unsure whether having variables for the versions makes
sense when the urls change over time (e.g.: the libpng currently in use in
make.osx was moved into the older-releases folder of the libpng repo,
prompting the need for this pull request in the first place).
-- Fernando
From: Fernando G. B. <fg...@ee...> - 2011年03月05日 22:48:01
I tested your changes (up to mpl_install_std) and merged the pull request.
Upon solving the binaries issue we could probably close this pull request.
Or we could open an issue for that particular matter.
-- Fernando
On Sat, Mar 5, 2011 at 02:03, Jouni K. Seppänen <jk...@ik...> wrote:
> Jouni K. Seppänen <jk...@ik...> writes:
>
> > Fernando Garcia Bermudez <fg...@ee...> writes:
> >
> >> Fine by me as well. Maybe modify the documentation to point to
> >> mpl_install_std. How should we proceed?
> >
> > I'll make some other cleanups and create some commits that you can
> > include in your pull request.
>
> I did this now and created a pull request for you, so if you pull it
> into your branch, it should update your pull request. I realized it's
> unnecessary to have all those shell commands to export the variables,
> since make can export them for us.
>
> I tried out the other targets, but I couldn't get "binaries" to
> work. The bdist_mpkg plugin complains something about a lacking 64-bit
> wxpython. Could someone who has previously been able to create the
> installer try it on my make.osx branch? (That is,
>
> git add remote jkseppan git://github.com/jkseppan/matplotlib.git
> git fetch jkseppan
> git checkout jkseppan/make.osx
> make -f make.osx clean deps mpl_build binaries PYVERSION=2.6 PREFIX=...)
>
> This change will likely not merge cleanly into master; if people agree
> to merge this into the maintenance branch, I can do the merge into
> master.
>
> --
> Jouni K. Seppänen
> http://www.iki.fi/jks
>
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Eric F. <ef...@ha...> - 2011年03月05日 18:34:24
On 03/05/2011 12:03 AM, Jouni K. Seppänen wrote:
> Jouni K. Seppänen<jk...@ik...> writes:
>
>> Fernando Garcia Bermudez<fg...@ee...> writes:
>>
>>> Fine by me as well. Maybe modify the documentation to point to
>>> mpl_install_std. How should we proceed?
>>
>> I'll make some other cleanups and create some commits that you can
>> include in your pull request.
>
> I did this now and created a pull request for you, so if you pull it
> into your branch, it should update your pull request. I realized it's
> unnecessary to have all those shell commands to export the variables,
> since make can export them for us.
>
> I tried out the other targets, but I couldn't get "binaries" to
> work. The bdist_mpkg plugin complains something about a lacking 64-bit
> wxpython. Could someone who has previously been able to create the
> installer try it on my make.osx branch? (That is,
>
> git add remote jkseppan git://github.com/jkseppan/matplotlib.git
> git fetch jkseppan
> git checkout jkseppan/make.osx
> make -f make.osx clean deps mpl_build binaries PYVERSION=2.6 PREFIX=...)
>
> This change will likely not merge cleanly into master; if people agree
> to merge this into the maintenance branch, I can do the merge into
> master.
>
Jouni,
While in the middle of overhauling make.osx, I think it makes sense to 
go ahead and fix the ARCH_FLAGS variable, and then use it throughout in 
place of the hardwired ARCH_FLAGS. That will make it easier to use the 
makefile on a range of OS X and Xcode versions. It is also simply a 
cleaner design.
Newer versions of the libraries can also be used, although this is not 
critical. v1.0.x still needs the 1.2 series of libpng, but master can 
now handle
ZLIBVERSION=1.2.5
PNGVERSION=1.5.1
FREETYPEVERSION=2.4.4
Eric
From: Jouni K. S. <jk...@ik...> - 2011年03月05日 10:03:50
Jouni K. Seppänen <jk...@ik...> writes:
> Fernando Garcia Bermudez <fg...@ee...> writes:
>
>> Fine by me as well. Maybe modify the documentation to point to
>> mpl_install_std. How should we proceed?
>
> I'll make some other cleanups and create some commits that you can
> include in your pull request.
I did this now and created a pull request for you, so if you pull it
into your branch, it should update your pull request. I realized it's
unnecessary to have all those shell commands to export the variables,
since make can export them for us.
I tried out the other targets, but I couldn't get "binaries" to
work. The bdist_mpkg plugin complains something about a lacking 64-bit
wxpython. Could someone who has previously been able to create the
installer try it on my make.osx branch? (That is, 
 git add remote jkseppan git://github.com/jkseppan/matplotlib.git
 git fetch jkseppan
 git checkout jkseppan/make.osx
 make -f make.osx clean deps mpl_build binaries PYVERSION=2.6 PREFIX=...)
This change will likely not merge cleanly into master; if people agree
to merge this into the maintenance branch, I can do the merge into
master.
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Jouni K. S. <jk...@ik...> - 2011年03月05日 09:09:18
Fernando Garcia Bermudez <fg...@ee...> writes:
> Fine by me as well. Maybe modify the documentation to point to
> mpl_install_std. How should we proceed?
I'll make some other cleanups and create some commits that you can
include in your pull request.
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Fernando G. B. <fg...@ee...> - 2011年03月05日 08:05:58
Fine by me as well. Maybe modify the documentation to point to
mpl_install_std. How should we proceed?
-- Fernando
On Fri, Mar 4, 2011 at 23:55, Eric Firing <ef...@ha...> wrote:
> On 03/04/2011 09:09 PM, Jouni K. Seppänen wrote:
> > Eric Firing<ef...@ha...> writes:
> >
> >> What is the rationale for removing the --prefix argument? It doesn't
> >> prevent one from installing in the standard location.
> >
> > The $PREFIX variables is used by make.osx for two different purposes:
> > (1) the dependencies are installed under $PREFIX and the extensions are
> > compiled to use them from there, in order to avoid version mismatches
> > with libraries in /usr, /opt, etc.; (2) the "setup.py install" command
> > is given --prefix $PREFIX as an argument so that matplotlib gets
> > installed in a non-standard location.
> >
> > I like just (1), so to install matplotlib I do "make -n mpl_install"
> > and edit the command to remove the prefix. Or, actually, edit it to be
> > "setupegg.py develop". The Makefile sets a bunch of environment
> > variables that are needed for the compilation to succeed with the
> > downloaded dependencies.
> >
> > How about putting the environment assignments in just one place and
> > creating multiple installation targets, maybe like this:
> >
> > ------------------------------------------------------------------------
> > run_cmd:
> > export PKG_CONFIG_PATH=${PKG_CONFIG_PATH} \
> > (etc) \
> > ${PYTHON} ${CMD}
> >
> > mpl_build:
> > run_cmd CMD="setup.py build"
> >
> > mpl_install:
> > run_cmd CMD="setup.py install --prefix=${PREFIX}"
> >
> > mpl_install_std:
> > run_cmd CMD="setup.py install"
> >
> > mpl_develop:
> > run_cmd CMD="setupegg.py develop"
> > ------------------------------------------------------------------------
> >
>
> That looks to me like a good solution.
>
> Eric
>
>
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Eric F. <ef...@ha...> - 2011年03月05日 07:55:40
On 03/04/2011 09:09 PM, Jouni K. Seppänen wrote:
> Eric Firing<ef...@ha...> writes:
>
>> What is the rationale for removing the --prefix argument? It doesn't
>> prevent one from installing in the standard location.
>
> The $PREFIX variables is used by make.osx for two different purposes:
> (1) the dependencies are installed under $PREFIX and the extensions are
> compiled to use them from there, in order to avoid version mismatches
> with libraries in /usr, /opt, etc.; (2) the "setup.py install" command
> is given --prefix $PREFIX as an argument so that matplotlib gets
> installed in a non-standard location.
>
> I like just (1), so to install matplotlib I do "make -n mpl_install"
> and edit the command to remove the prefix. Or, actually, edit it to be
> "setupegg.py develop". The Makefile sets a bunch of environment
> variables that are needed for the compilation to succeed with the
> downloaded dependencies.
>
> How about putting the environment assignments in just one place and
> creating multiple installation targets, maybe like this:
>
> ------------------------------------------------------------------------
> run_cmd:
> export PKG_CONFIG_PATH=${PKG_CONFIG_PATH} \
> (etc) \
> ${PYTHON} ${CMD}
>
> mpl_build:
> run_cmd CMD="setup.py build"
>
> mpl_install:
> run_cmd CMD="setup.py install --prefix=${PREFIX}"
>
> mpl_install_std:
> run_cmd CMD="setup.py install"
>
> mpl_develop:
> run_cmd CMD="setupegg.py develop"
> ------------------------------------------------------------------------
>
That looks to me like a good solution.
Eric
From: Jouni K. S. <jk...@ik...> - 2011年03月05日 07:10:18
Eric Firing <ef...@ha...> writes:
> What is the rationale for removing the --prefix argument? It doesn't 
> prevent one from installing in the standard location.
The $PREFIX variables is used by make.osx for two different purposes: 
(1) the dependencies are installed under $PREFIX and the extensions are
compiled to use them from there, in order to avoid version mismatches
with libraries in /usr, /opt, etc.; (2) the "setup.py install" command
is given --prefix $PREFIX as an argument so that matplotlib gets
installed in a non-standard location.
I like just (1), so to install matplotlib I do "make -n mpl_install"
and edit the command to remove the prefix. Or, actually, edit it to be
"setupegg.py develop". The Makefile sets a bunch of environment
variables that are needed for the compilation to succeed with the
downloaded dependencies.
How about putting the environment assignments in just one place and
creating multiple installation targets, maybe like this:
------------------------------------------------------------------------
run_cmd:
 export PKG_CONFIG_PATH=${PKG_CONFIG_PATH} \
 (etc) \
 ${PYTHON} ${CMD}
mpl_build:
 run_cmd CMD="setup.py build"
mpl_install:
 run_cmd CMD="setup.py install --prefix=${PREFIX}"
mpl_install_std:
 run_cmd CMD="setup.py install"
mpl_develop:
 run_cmd CMD="setupegg.py develop"
------------------------------------------------------------------------
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Michiel de H. <mjl...@ya...> - 2011年03月05日 04:32:36
OK, if there are no objections I will start making the appropriate changes to the code and the documentation. 
-- Michiel
On Sun Feb 27th, 2011 8:49 AM EST John Hunter wrote:
>On Sun, Feb 27, 2011 at 1:06 AM, Eric Firing <ef...@ha...> wrote:
>
>> That's a good point. Until fairly recently, interactive behavior worked
>> across backends only via ipython magic, so I think the non-interactive
>> default had a solid historical rationale. Now, however, we could
>> probably make interactive mode the startup default for interactive
>> backends without causing any problems. I agree that this would be more
>> intuitive and more familiar to people coming from matlab.
>
>Probably right -- this was a design decision made early on when I did
>not see a good way around the problem that the idle drawing across
>backends now solves. There will probably be some unintended
>consequences of changing the default, but as long as we document it
>prominently and provide a way for people to change the behavior to the
>old wan in their rc, it is probably a good idea to make this change.
>
>------------------------------------------------------------------------------
>Free Software Download: Index, Search & Analyze Logs and other IT data in 
>Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
>generated by your applications, servers and devices whether physical, virtual
>or in the cloud. Deliver compliance at lower cost and gain new business 
>insights. http://p.sf.net/sfu/splunk-dev2dev 
>_______________________________________________
>Matplotlib-devel mailing list
>Mat...@li...
>https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
 
From: Fernando G. B. <fg...@ee...> - 2011年03月04日 23:44:23
On Fri, Mar 4, 2011 at 13:40, Eric Firing <ef...@ha...> wrote:
> On 03/04/2011 10:30 AM, Jouni K. Seppänen wrote:
> > We have an open pull request for fixing some problems in the make.osx
> > file:
> >
> > https://github.com/matplotlib/matplotlib/pull/17
> >
> > I think it's otherwise fine, but it changes the mpl_install target by
> > removing the --prefix argument. Personally I would prefer to drop the
> > --prefix, but this is originally John's file and he may have had a good
> > reason to install in a non-standard directory. Any comments?
> >
>
> I presume a user might want to be able to build and test a development
> version without replacing a production version.
>
> What is the rationale for removing the --prefix argument? It doesn't
> prevent one from installing in the standard location.
>
> Eric
>
My rationale for removing the --prefix argument was that a user might want
to compile matplotlib from source on MacOSX instead of install it from a
package (assuming such a package exists). As it stands now, the make.osx
file has some configuration at the top and then states that you shouldn't
need to configure past a point.
I've recently gone from relying on Enthought to compiling the packages I use
from source. All of the other packages (numpy/scipy, ipython, PIL, pyserial)
install by default on the site-packages relevant to the python version used
in the install. Removing the --prefix argument would bring the same
functionality to matplotlib on OSX. This default could be modified by
developers that would rather install in a test environment.
As I mention in the pull request, though, I'm still unsure if the
dependencies are compile-time or not. I've left the PREFIX intact after
installing into the production site-packages and I haven't had any issues so
far. The reason the PREFIX is needed, as README.osx explains, is because OSX
can have different types of zlib, png and freetype installed on the system.
If this change blocks the pull request from going through, though, I could
just revert that change and open up another one once we've cleared up any
doubts about what the rationale for having the --prefix in the first place
are.
-- Fernando
From: Eric F. <ef...@ha...> - 2011年03月04日 21:40:42
On 03/04/2011 10:30 AM, Jouni K. Seppänen wrote:
> We have an open pull request for fixing some problems in the make.osx
> file:
>
> https://github.com/matplotlib/matplotlib/pull/17
>
> I think it's otherwise fine, but it changes the mpl_install target by
> removing the --prefix argument. Personally I would prefer to drop the
> --prefix, but this is originally John's file and he may have had a good
> reason to install in a non-standard directory. Any comments?
>
I presume a user might want to be able to build and test a development 
version without replacing a production version.
What is the rationale for removing the --prefix argument? It doesn't 
prevent one from installing in the standard location.
Eric
From: Jouni K. S. <jk...@ik...> - 2011年03月04日 20:30:38
We have an open pull request for fixing some problems in the make.osx
file:
https://github.com/matplotlib/matplotlib/pull/17
I think it's otherwise fine, but it changes the mpl_install target by
removing the --prefix argument. Personally I would prefer to drop the
--prefix, but this is originally John's file and he may have had a good
reason to install in a non-standard directory. Any comments?
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Martin T. <lkb...@gm...> - 2011年03月04日 10:24:05
Hi Ben, Hi list,
> Exactly. That's all I found too. Nothing indicates that we need to
> change anything. We are throwing away the second part of the tuple
> which has the returned filter. The only reason I see for the new
> function is so the coder can get back the filter string, which we
> don't seem to use.
It took me a while to see the problem, too. The point is: there is one parameter
missing in the new API of getSaveFileName, called selectedFilter,
which we use, and
given that it is missing, python takes it to be the next parameter, which
must be an int, and you get a TypeError. I discussed this with
Phil Thompson (the author of PyQt4) over at the PyQt4 mailing list
(see http://www.mail-archive.com/pyqt%40riverbankcomputing.com/msg23733.html)
and he told me to use getSaveFileNameAndFilter.
The other option would be to change PyQt4, dunno which is best.
Greetings
Martin
-- 
Max-Born-Institut
Max-Born-Straße 2a
12489 Berlin
+49 30 6392 1234
From: Benjamin R. <ben...@ou...> - 2011年03月04日 02:26:27
On Thursday, March 3, 2011, Darren Dale <dsd...@gm...> wrote:
> On Thu, Mar 3, 2011 at 10:22 AM, Benjamin Root <ben...@ou...> wrote:
>> Just for completeness, I wanted to include a link to some sort of reference
>> indicating a need to change the function. I can not find any documentation
>> that says that we need to change from getSaveFileName() to
>> getSaveFileNameAndFilter(). Can you please provide a source explaining the
>> need for this change?
>
> Try here: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/python_v3.html#qfiledialog
>
Exactly. That's all I found too. Nothing indicates that we need to
change anything. We are throwing away the second part of the tuple
which has the returned filter. The only reason I see for the new
function is so the coder can get back the filter string, which we
don't seem to use.
Am I missing something?
Ben Root
From: Darren D. <dsd...@gm...> - 2011年03月04日 02:00:26
On Thu, Mar 3, 2011 at 10:22 AM, Benjamin Root <ben...@ou...> wrote:
> Just for completeness, I wanted to include a link to some sort of reference
> indicating a need to change the function. I can not find any documentation
> that says that we need to change from getSaveFileName() to
> getSaveFileNameAndFilter(). Can you please provide a source explaining the
> need for this change?
Try here: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/python_v3.html#qfiledialog
From: Mike K. <mc...@gm...> - 2011年03月04日 01:49:04
I noticed that this didn't exist and I never seem to want a frame anyway 
so here's a patch. I wasn't sure if anything in doc/ needed to be changed...
I don't really like the name "legend.frameon". I'd rather have 
"legend.frame" or "legend.useframe". If people would accept changing the 
name of the keyword, then this patch probably shouldn't be committed.
M
From: James K. <ji...@ya...> - 2011年03月03日 18:46:10
Looks like that fixed it. Thanks!
Jim
________________________________
From: Benjamin Root <ben...@ou...>
To: Jae-Joon Lee <lee...@gm...>
Cc: James Kitchen <ji...@ya...>; mat...@li...
Sent: Thu, March 3, 2011 11:40:32 AM
Subject: Re: [matplotlib-devel] Bug in Draggable Legend
On Thu, Mar 3, 2011 at 10:30 AM, Jae-Joon Lee <lee...@gm...> wrote:
I just committed a change that I believe that fixes this problem.
>
>https://github.com/matplotlib/matplotlib/commit/be420a34031c9c50813bc5be5f01a3cfb49639a1
>
>
>Regards,
>
>-JJ
>
>
>
Confirmed that it fixes the problem for me on the GTKAgg backend as well.
Ben Root
 
From: Benjamin R. <ben...@ou...> - 2011年03月03日 16:41:07
On Thu, Mar 3, 2011 at 10:30 AM, Jae-Joon Lee <lee...@gm...> wrote:
> I just committed a change that I believe that fixes this problem.
>
>
> https://github.com/matplotlib/matplotlib/commit/be420a34031c9c50813bc5be5f01a3cfb49639a1
>
> Regards,
>
> -JJ
>
>
Confirmed that it fixes the problem for me on the GTKAgg backend as well.
Ben Root
From: Jae-Joon L. <lee...@gm...> - 2011年03月03日 16:30:35
I just committed a change that I believe that fixes this problem.
https://github.com/matplotlib/matplotlib/commit/be420a34031c9c50813bc5be5f01a3cfb49639a1
Regards,
-JJ
On Fri, Mar 4, 2011 at 12:58 AM, James Kitchen <ji...@ya...> wrote:
> Hi all,
>
> I found a small bug in the Draggable Legend feature when you single-click on a
> legend, but don't drag it. It raises a TypeError.
>
> Here's code to reproduce. Try dragging the legend, then single-click the
> legend.
>
> #!/usr/bin/env python
> import matplotlib as mpl
> import pylab
>
> fig = pylab.figure()
> ax = fig.add_subplot(111)
> ax.plot(range(10), range(10), c='r', marker='^', picker=5, label='Ramp')
> legn = ax.legend()
> legn.draggable()
> pylab.show()
>
>
> Here's the stacktrace when I single-click:
>
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__
>  return self.func(*args)
> File "C:\Python26\lib\site-packages\matplotlib\backends\backend_tkagg.py",
> line 312, in button_release_event
>  FigureCanvasBase.button_release_event(self, x, y, num, guiEvent=event)
> File "C:\Python26\lib\site-packages\matplotlib\backend_bases.py", line 1561,
> in button_release_event
>  self.callbacks.process(s, event)
> File "C:\Python26\lib\site-packages\matplotlib\cbook.py", line 262, in process
>  proxy(*args, **kwargs)
> File "C:\Python26\lib\site-packages\matplotlib\cbook.py", line 188, in
> __call__
>  return mtd(*args, **kwargs)
> File "C:\Python26\lib\site-packages\matplotlib\offsetbox.py", line 1466, in
> on_release
>  self.finalize_offset()
> File "C:\Python26\lib\site-packages\matplotlib\legend.py", line 51, in
> finalize_offset
>  loc_in_canvas = self.get_loc_in_canvas()
> File "C:\Python26\lib\site-packages\matplotlib\offsetbox.py", line 1512, in
> get_loc_in_canvas
>  ox, oy = offsetbox._offset
> TypeError: 'instancemethod' object is not iterable
>
> Jim
>
>
>
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: James K. <ji...@ya...> - 2011年03月03日 15:58:36
Hi all,
I found a small bug in the Draggable Legend feature when you single-click on a 
legend, but don't drag it. It raises a TypeError.
Here's code to reproduce. Try dragging the legend, then single-click the 
legend.
#!/usr/bin/env python
import matplotlib as mpl
import pylab
fig = pylab.figure()
ax = fig.add_subplot(111)
ax.plot(range(10), range(10), c='r', marker='^', picker=5, label='Ramp')
legn = ax.legend()
legn.draggable()
pylab.show()
Here's the stacktrace when I single-click:
Exception in Tkinter callback
Traceback (most recent call last):
 File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__
 return self.func(*args)
 File "C:\Python26\lib\site-packages\matplotlib\backends\backend_tkagg.py", 
line 312, in button_release_event
 FigureCanvasBase.button_release_event(self, x, y, num, guiEvent=event)
 File "C:\Python26\lib\site-packages\matplotlib\backend_bases.py", line 1561, 
in button_release_event
 self.callbacks.process(s, event)
 File "C:\Python26\lib\site-packages\matplotlib\cbook.py", line 262, in process
 proxy(*args, **kwargs)
 File "C:\Python26\lib\site-packages\matplotlib\cbook.py", line 188, in 
__call__
 return mtd(*args, **kwargs)
 File "C:\Python26\lib\site-packages\matplotlib\offsetbox.py", line 1466, in 
on_release
 self.finalize_offset()
 File "C:\Python26\lib\site-packages\matplotlib\legend.py", line 51, in 
finalize_offset
 loc_in_canvas = self.get_loc_in_canvas()
 File "C:\Python26\lib\site-packages\matplotlib\offsetbox.py", line 1512, in 
get_loc_in_canvas
 ox, oy = offsetbox._offset
TypeError: 'instancemethod' object is not iterable
Jim
 
From: Benjamin R. <ben...@ou...> - 2011年03月03日 15:23:00
On Thu, Mar 3, 2011 at 3:15 AM, Martin Teichmann <lkb...@gm...>wrote:
> Hi Benjamin, Hi List,
>
> sorry for the backwards patch, here the forward one:
>
> ------------------------------------------------------------------------
> --- backend_qt4_orig.py 2011年03月02日 16:16:38.257797767 +0100
> +++ backend_qt4.py 2011年03月02日 16:17:19.526831397 +0100
> @@ -395,8 +395,9 @@
> filters.append(filter)
> filters = ';;'.join(filters)
>
> - fname = QtGui.QFileDialog.getSaveFileName(
> - self, "Choose a filename to save to", start, filters,
> selectedFilter)
> + fname, _ = QtGui.QFileDialog.getSaveFileNameAndFilter(
> + self, "Choose a filename to save to", start, filters,
> + selectedFilter)
> if fname:
> try:
> self.canvas.print_figure( unicode(fname) )
>
> ----------------------------------------------------------------------------
>
> It is done against a rather old version of matplotlib (the 0.99.3, the
> newest in kubuntu...) but the code hasn't changed since then,
> acording to github, so only the line numbers are wrong.
>
> The second patch I sent is now obsolete, as you hinted to the
> patch on github. I had followed the link on the matplotlib
> web site (http://matplotlib.sourceforge.net/) which links still to
> some subversion repository once you click onto "source code"
> Could please someone update that link to github? Or is there
> a new matplotlib website as well (google didn't find one).
>
> Greetings
>
> Martin
>
> --
> Max-Born-Institut
> Max-Born-Straße 2a
> 12489 Berlin
> +49 30 6392 1234
>
Martin,
Just for completeness, I wanted to include a link to some sort of reference
indicating a need to change the function. I can not find any documentation
that says that we need to change from getSaveFileName() to
getSaveFileNameAndFilter(). Can you please provide a source explaining the
need for this change?
Thanks,
Ben Root
From: Darren D. <dsd...@gm...> - 2011年03月03日 15:10:35
On Thu, Mar 3, 2011 at 9:36 AM, Benjamin Root <ben...@ou...> wrote:
> As for the sourceforge/github confusion, we are currently in a transition
> phase. Our repository is now hosted on github, but the official website and
> trackers are still sourceforge. Sorry for any confusion there. The
> (un)official new website will be http://matplotlib.github.com.
With particular emphasis on UNofficial. I put that site up to make the
git/github developer docs available right away, and to investigate
whether we might want to host the homepage at github. There has been
no discussion of switching, let alone a decision to do so.
From: Benjamin R. <ben...@ou...> - 2011年03月03日 14:36:44
On Thu, Mar 3, 2011 at 3:15 AM, Martin Teichmann <lkb...@gm...>wrote:
> Hi Benjamin, Hi List,
>
> sorry for the backwards patch, here the forward one:
>
> ------------------------------------------------------------------------
> --- backend_qt4_orig.py 2011年03月02日 16:16:38.257797767 +0100
> +++ backend_qt4.py 2011年03月02日 16:17:19.526831397 +0100
> @@ -395,8 +395,9 @@
> filters.append(filter)
> filters = ';;'.join(filters)
>
> - fname = QtGui.QFileDialog.getSaveFileName(
> - self, "Choose a filename to save to", start, filters,
> selectedFilter)
> + fname, _ = QtGui.QFileDialog.getSaveFileNameAndFilter(
> + self, "Choose a filename to save to", start, filters,
> + selectedFilter)
> if fname:
> try:
> self.canvas.print_figure( unicode(fname) )
>
> ----------------------------------------------------------------------------
>
> It is done against a rather old version of matplotlib (the 0.99.3, the
> newest in kubuntu...) but the code hasn't changed since then,
> acording to github, so only the line numbers are wrong.
>
> The second patch I sent is now obsolete, as you hinted to the
> patch on github. I had followed the link on the matplotlib
> web site (http://matplotlib.sourceforge.net/) which links still to
> some subversion repository once you click onto "source code"
> Could please someone update that link to github? Or is there
> a new matplotlib website as well (google didn't find one).
>
> Greetings
>
> Martin
>
> --
> Max-Born-Institut
> Max-Born-Straße 2a
> 12489 Berlin
> +49 30 6392 1234
>
Martin,
Thank you for double-checking your patches. I will see about getting it
added into mpl today.
As for the sourceforge/github confusion, we are currently in a transition
phase. Our repository is now hosted on github, but the official website and
trackers are still sourceforge. Sorry for any confusion there. The
(un)official new website will be http://matplotlib.github.com.
Thank you for helping to make matplotlib better!
Ben Root
3 messages has been excluded from this view by a project administrator.

Showing results of 144

<< < 1 .. 3 4 5 6 > >> (Page 5 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 によって変換されたページ (->オリジナル) /