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

Showing results of 89

1 2 3 4 > >> (Page 1 of 4)
From: Eric F. <ef...@ha...> - 2010年04月29日 21:47:20
Kersey Black wrote:
> I have run across what I think is a bug in the markevery functionality.
> 
> Running OSX 10.6.2
> Python 2.6.4 |EPD 6.1-1 (32-bit)| (r264:75706, Dec 11 2009, 10:58:54)
> mp.__version__ '0.99.1.1'
> 
> I have 16 lines plotted in a plot which is embedded in a wxpython application frame.
> I am using the WXAgg backend
> 
> For each line, I am plotting the two variables (distances in this case) against each 
> other an am using the 'markevery' functionality to mark just one point along each line.
> I do this with this construction using the line list returned from the plot command.
> new_line[0].set_markevery(every=(t0[0],9999))
> The data set is much smaller than 9999 points, so 
> this insures only having one point highlighted along the line.
> It works great, and does just what I want.
> 
> However, when I zoom and pan the plot, for about half of the lines the highlighted point 
> (which should stay put) actually migrates along the line as I am panning the plot. 
> The marked points seem to start moving when they get close to the edge of the plot frame, 
> as if to stay visible, but it is not quite that simple.
> 
> Has anyone else observed this? Or have a fix? I saw a previous bug reported 
> with markevery from Jan 2009, but that seemed to be resolved.
I just committed what I think will be a fix, in svn 8289.
Eric
> 
> Kersey
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Kersey B. <kb...@js...> - 2010年04月29日 21:19:52
I have run across what I think is a bug in the markevery functionality.
Running OSX 10.6.2
Python 2.6.4 |EPD 6.1-1 (32-bit)| (r264:75706, Dec 11 2009, 10:58:54)
mp.__version__ '0.99.1.1'
I have 16 lines plotted in a plot which is embedded in a wxpython application frame.
I am using the WXAgg backend
For each line, I am plotting the two variables (distances in this case) against each 
other an am using the 'markevery' functionality to mark just one point along each line.
I do this with this construction using the line list returned from the plot command.
 new_line[0].set_markevery(every=(t0[0],9999))
The data set is much smaller than 9999 points, so 
this insures only having one point highlighted along the line.
It works great, and does just what I want.
However, when I zoom and pan the plot, for about half of the lines the highlighted point 
(which should stay put) actually migrates along the line as I am panning the plot. 
The marked points seem to start moving when they get close to the edge of the plot frame, 
as if to stay visible, but it is not quite that simple.
Has anyone else observed this? Or have a fix? I saw a previous bug reported 
with markevery from Jan 2009, but that seemed to be resolved.
Kersey
From: Eric F. <ef...@ha...> - 2010年04月28日 21:03:34
Mark Roddy wrote:
> On Wed, Apr 28, 2010 at 12:30 PM, Mark Roddy <mar...@gm...> wrote:
>> On Wed, Apr 28, 2010 at 11:49 AM, Michael Droettboom <md...@st...> wrote:
>>> Thanks. Yes, I would consider tabs a bug. A patch is very welcome.
>>>
[...]
> 
> I added a patch to the tracker:
> https://sourceforge.net/tracker/?func=detail&aid=2993733&group_id=80706&atid=560720
> 
Your patch has been applied. Thank you.
Eric
> -Mark
From: Mark R. <mar...@gm...> - 2010年04月28日 17:56:39
On Wed, Apr 28, 2010 at 12:30 PM, Mark Roddy <mar...@gm...> wrote:
> On Wed, Apr 28, 2010 at 11:49 AM, Michael Droettboom <md...@st...> wrote:
>> Thanks. Yes, I would consider tabs a bug. A patch is very welcome.
>>
>> Mike
>>
>> Mark Roddy wrote:
>>>
>>> I'm trying to resolve an issue with my source base that uses
>>> matplotlib. We run our CI tests with the '-tt' option which causes
>>> errors on mixed tabs/spaces, and this has caused our builds to start
>>> failing since the inclusion of matploblib on one of our projects due
>>> to mixed use of tab and space characters in some of the pure python
>>> code. We're using v0.99.0 and I count 43 occurences of tab characters
>>> across 5 files in this release. I checked out the trunk and found 26
>>> occurrences across 9 files. I determined these via:
>>> find -name \*.py|xargs grep -P '\t', and
>>> find -name \*.py|xargs grep -Pl '\t'
>>>
>>> According to the style guide[1], use of tabs is a bug, but I wanted to
>>> inquire if this standard is still in place before filing a bug report.
>>> I can provide a patch if so (which should only consist of running
>>> reindent).
>>>
>>> Thanks,
>>> Mark
>>>
>>> 1:
>>> http://matplotlib.sourceforge.net/devel/coding_guide.html#naming-spacing-and-formatting-conventions
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Matplotlib-devel mailing list
>>> Mat...@li...
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>>
>>
>> --
>> Michael Droettboom
>> Science Software Branch
>> Operations and Engineering Division
>> Space Telescope Science Institute
>> Operated by AURA for NASA
>>
>>
>
> Thanks Mike. I'll open a bug with the patch attached.
>
> -Mark
>
I added a patch to the tracker:
https://sourceforge.net/tracker/?func=detail&aid=2993733&group_id=80706&atid=560720
-Mark
From: Mark R. <mar...@gm...> - 2010年04月28日 16:30:28
On Wed, Apr 28, 2010 at 11:49 AM, Michael Droettboom <md...@st...> wrote:
> Thanks. Yes, I would consider tabs a bug. A patch is very welcome.
>
> Mike
>
> Mark Roddy wrote:
>>
>> I'm trying to resolve an issue with my source base that uses
>> matplotlib. We run our CI tests with the '-tt' option which causes
>> errors on mixed tabs/spaces, and this has caused our builds to start
>> failing since the inclusion of matploblib on one of our projects due
>> to mixed use of tab and space characters in some of the pure python
>> code. We're using v0.99.0 and I count 43 occurences of tab characters
>> across 5 files in this release. I checked out the trunk and found 26
>> occurrences across 9 files. I determined these via:
>> find -name \*.py|xargs grep -P '\t', and
>> find -name \*.py|xargs grep -Pl '\t'
>>
>> According to the style guide[1], use of tabs is a bug, but I wanted to
>> inquire if this standard is still in place before filing a bug report.
>> I can provide a patch if so (which should only consist of running
>> reindent).
>>
>> Thanks,
>> Mark
>>
>> 1:
>> http://matplotlib.sourceforge.net/devel/coding_guide.html#naming-spacing-and-formatting-conventions
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>>
>
> --
> Michael Droettboom
> Science Software Branch
> Operations and Engineering Division
> Space Telescope Science Institute
> Operated by AURA for NASA
>
>
Thanks Mike. I'll open a bug with the patch attached.
-Mark
From: Michael D. <md...@st...> - 2010年04月28日 15:49:27
Thanks. Yes, I would consider tabs a bug. A patch is very welcome.
Mike
Mark Roddy wrote:
> I'm trying to resolve an issue with my source base that uses
> matplotlib. We run our CI tests with the '-tt' option which causes
> errors on mixed tabs/spaces, and this has caused our builds to start
> failing since the inclusion of matploblib on one of our projects due
> to mixed use of tab and space characters in some of the pure python
> code. We're using v0.99.0 and I count 43 occurences of tab characters
> across 5 files in this release. I checked out the trunk and found 26
> occurrences across 9 files. I determined these via:
> find -name \*.py|xargs grep -P '\t', and
> find -name \*.py|xargs grep -Pl '\t'
>
> According to the style guide[1], use of tabs is a bug, but I wanted to
> inquire if this standard is still in place before filing a bug report.
> I can provide a patch if so (which should only consist of running
> reindent).
>
> Thanks,
> Mark
>
> 1: http://matplotlib.sourceforge.net/devel/coding_guide.html#naming-spacing-and-formatting-conventions
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Mark R. <mar...@gm...> - 2010年04月28日 15:24:30
I'm trying to resolve an issue with my source base that uses
matplotlib. We run our CI tests with the '-tt' option which causes
errors on mixed tabs/spaces, and this has caused our builds to start
failing since the inclusion of matploblib on one of our projects due
to mixed use of tab and space characters in some of the pure python
code. We're using v0.99.0 and I count 43 occurences of tab characters
across 5 files in this release. I checked out the trunk and found 26
occurrences across 9 files. I determined these via:
find -name \*.py|xargs grep -P '\t', and
find -name \*.py|xargs grep -Pl '\t'
According to the style guide[1], use of tabs is a bug, but I wanted to
inquire if this standard is still in place before filing a bug report.
 I can provide a patch if so (which should only consist of running
reindent).
Thanks,
Mark
1: http://matplotlib.sourceforge.net/devel/coding_guide.html#naming-spacing-and-formatting-conventions
From: Michael D. <md...@st...> - 2010年04月28日 15:11:27
I think this is due to improper use of the path.simplify_threshold value 
in the simplification code. It should have been squared since it's used 
in a 2-dimensional euclidean distance calculation.
I have made the change to SVN r8280 and updated a few of the unit tests 
that are now more accurate than they used to be. As a workaround (if 
you're not running from SVN and don't want to rebuild), you can set the 
rcParam path.simplify_threshold to 0.01, rather than 0.1.
Mike
Michael Droettboom wrote:
> Thanks. I can confirm this with today's SVN. I'm looking into the cause.
>
> Mike
>
> On 04/25/2010 07:11 PM, Tom Aldcroft wrote:
> 
>> import numpy
>> import matplotlib
>> matplotlib.use('Agg')
>> import matplotlib.pyplot as plt
>>
>> y = numpy.array([
>> 4., 2., 2., 3., 3., 2., 2., 6., 6., 5., 5., 4., 4.,
>> 7., 7., 2., 2., 4., 4., 2., 2., 2., 2., 4., 4., 4.,
>> 4., 4., 4., 7., 7., 3., 3., 5., 5., 4., 4., 5., 5.,
>> 4., 4., 7., 7., 6., 6., 2., 2., 2., 2., 5., 5., 4.,
>> 4., 4., 4., 6., 6., 3., 3., 4., 4., 3., 3., 2., 2.,
>> 3., 3., 4., 4., 4., 4., 4., 4., 6., 6., 5., 5., 4.,
>> 4., 7., 7., 3., 3., 4., 4., 4., 4., 5., 5., 4., 4.,
>> 7., 7., 3., 3., 4., 4., 4., 4., 6., 6., 4., 4., 4.,
>> 4., 4., 4., 2., 2., 5., 5., 6., 6., 3., 3., 5., 5.,
>> 4., 4., 0., 0., 5., 5., 1., 1., 4., 4., 5., 5., 4.])
>>
>> plt.figure(figsize=(7,4))
>> plt.plot(y)
>> plt.savefig('test.png')
>>
>> plt.xlim(-12000, 8274)
>> plt.savefig('test_panned.png')
>> 
>> 
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Eric B. <eri...@gm...> - 2010年04月28日 00:43:55
Hi all,
I've come across a memory leak when saving multiple figures in a row.
The figure contains a single pcolormesh artist, which I need to
rasterize in my application. However, turning on rasterization causes
a memory leak.The attached script reproduces the problem; swap out the
commented section at the bottom to eliminate memory growth for each
new figure.
I'm not sure what the cause is, though to toss one idea out, might it
have to do with a references that aren't cleaned up from the
rasterizing part of the mixed-mode renderer?
Tested on Mac OS X and, thanks to Patrick Marsh, on Windows.
Thanks,
Eric
From: Michael D. <md...@st...> - 2010年04月27日 19:40:20
I made a small change to the test harness so that the tolerance can be 
set on a per-test basis. I increased the tolerance for the figimage 
test so it passes on my machine.
Cheers,
Mike
Michael Droettboom wrote:
> Jouni K. Seppänen wrote:
> 
>> The following message is a courtesy copy of an article
>> that has been posted to gmane.comp.python.matplotlib.devel as well.
>>
>> Jouni K. Seppänen <jks...@pu...> writes:
>>
>> 
>> 
>>>> It looks like Jouni wrote that test... Jouni: could you verify that the 
>>>> difference isn't significant? If it's not, we can just create a new 
>>>> baseline image.
>>>> 
>>>> 
>>> I can't replicate the problem: for me "nosetests
>>> matplotlib.tests.test_image:test_figimage" passes (Python 2.6.1,
>>> matplotlib revision 8276, OS X 10.6.3). Could you post the failing
>>> images somewhere?
>>> 
>>> 
>> Thanks for the images Michael. If I change all E1 bytes in the current
>> baseline image to E0 bytes, the images match perfectly. Sounds like a
>> change in the discretization of floating-point values to integer bytes.
>>
>> The difference is definitely not significant, but as I said, I get the
>> old image on my system. I don't object to changing the baseline image,
>> but the best solution would be to make the image diff less sensitive.
>> Unfortunately I don't have the time to pursue this now.
>> 
>> 
> Thanks for the analysis. I'll look into the image diffing and see what 
> can be done.
>
> Mike
>
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Michael D. <md...@st...> - 2010年04月27日 19:18:13
Jouni K. Seppänen wrote:
> The following message is a courtesy copy of an article
> that has been posted to gmane.comp.python.matplotlib.devel as well.
>
> Jouni K. Seppänen <jks...@pu...> writes:
>
> 
>>> It looks like Jouni wrote that test... Jouni: could you verify that the 
>>> difference isn't significant? If it's not, we can just create a new 
>>> baseline image.
>>> 
>> I can't replicate the problem: for me "nosetests
>> matplotlib.tests.test_image:test_figimage" passes (Python 2.6.1,
>> matplotlib revision 8276, OS X 10.6.3). Could you post the failing
>> images somewhere?
>> 
>
> Thanks for the images Michael. If I change all E1 bytes in the current
> baseline image to E0 bytes, the images match perfectly. Sounds like a
> change in the discretization of floating-point values to integer bytes.
>
> The difference is definitely not significant, but as I said, I get the
> old image on my system. I don't object to changing the baseline image,
> but the best solution would be to make the image diff less sensitive.
> Unfortunately I don't have the time to pursue this now.
> 
Thanks for the analysis. I'll look into the image diffing and see what 
can be done.
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Jouni K. S. <jk...@ik...> - 2010年04月27日 18:55:37
Jouni K. Seppänen <jk...@ik...> writes:
>> It looks like Jouni wrote that test... Jouni: could you verify that the 
>> difference isn't significant? If it's not, we can just create a new 
>> baseline image.
>
> I can't replicate the problem: for me "nosetests
> matplotlib.tests.test_image:test_figimage" passes (Python 2.6.1,
> matplotlib revision 8276, OS X 10.6.3). Could you post the failing
> images somewhere?
Thanks for the images Michael. If I change all E1 bytes in the current
baseline image to E0 bytes, the images match perfectly. Sounds like a
change in the discretization of floating-point values to integer bytes.
The difference is definitely not significant, but as I said, I get the
old image on my system. I don't object to changing the baseline image,
but the best solution would be to make the image diff less sensitive.
Unfortunately I don't have the time to pursue this now.
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Jouni K. S. <jk...@ik...> - 2010年04月27日 17:45:33
Michael Droettboom <md...@st...> writes:
> Thanks, Eric. I can confirm the failure on figimage, but with the same 
> seemingly miniscule difference.
>
> It looks like Jouni wrote that test... Jouni: could you verify that the 
> difference isn't significant? If it's not, we can just create a new 
> baseline image.
I can't replicate the problem: for me "nosetests
matplotlib.tests.test_image:test_figimage" passes (Python 2.6.1,
matplotlib revision 8276, OS X 10.6.3). Could you post the failing
images somewhere?
-- 
Jouni K. Seppänen
http://www.iki.fi/jks
From: Michael D. <md...@st...> - 2010年04月27日 14:17:08
Thanks, Eric. I can confirm the failure on figimage, but with the same 
seemingly miniscule difference.
It looks like Jouni wrote that test... Jouni: could you verify that the 
difference isn't significant? If it's not, we can just create a new 
baseline image.
Mike
Eric Firing wrote:
> Michael Droettboom wrote:
>> I'm noticing that SVN r8269 is failing a great number of regression 
>> tests -- with pretty major things like the number of digits in the 
>> formatter being different. The buildbot seems to be getting the same 
>> failures I am, but I don't see any buildbot e-mails since Wednesday. 
>> Does anyone know the source of these errors? It seems to have to do 
>> with changes to the formatters.
>
> Mike,
>
> I have fixed all but one test--in some cases, partly by fixing tests 
> and/or the baseline images.
>
> The one exception is figimage. I don't think I have changed anything 
> that would affect that in any obvious way, but certainly I could be 
> wrong, and I haven't looked into it. The immediate problem is that I 
> can't see what the difference is between the baseline and what I am 
> generating now. They look identical to my eye, on my screen. The diff 
> plot shows up as a black square. The png files are different, 
> differing in length by 2 bytes, so something has changed--but what? 
> Given that I can't *see* any difference, I am tempted to just change 
> the baseline plot so that the test will pass, but maybe that would be 
> a mistake.
>
> Building mpl from a version 2 months ago, I am still seeing the 
> figimage failure.
>
> Eric
>
>
>>
>> Mike
>>
>> ------------------------------------------------------------------------------ 
>>
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Eric F. <ef...@ha...> - 2010年04月27日 00:29:03
Michael Droettboom wrote:
> I'm noticing that SVN r8269 is failing a great number of regression 
> tests -- with pretty major things like the number of digits in the 
> formatter being different. The buildbot seems to be getting the same 
> failures I am, but I don't see any buildbot e-mails since Wednesday. 
> Does anyone know the source of these errors? It seems to have to do 
> with changes to the formatters.
Mike,
I have fixed all but one test--in some cases, partly by fixing tests 
and/or the baseline images.
The one exception is figimage. I don't think I have changed anything 
that would affect that in any obvious way, but certainly I could be 
wrong, and I haven't looked into it. The immediate problem is that I 
can't see what the difference is between the baseline and what I am 
generating now. They look identical to my eye, on my screen. The diff 
plot shows up as a black square. The png files are different, differing 
in length by 2 bytes, so something has changed--but what? Given that I 
can't *see* any difference, I am tempted to just change the baseline 
plot so that the test will pass, but maybe that would be a mistake.
Building mpl from a version 2 months ago, I am still seeing the figimage 
failure.
Eric
> 
> Mike
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Michael D. <md...@st...> - 2010年04月26日 18:40:23
On 04/26/2010 02:37 PM, Eric Firing wrote:
> Michael Droettboom wrote:
>> I'm noticing that SVN r8269 is failing a great number of regression 
>> tests -- with pretty major things like the number of digits in the 
>> formatter being different. The buildbot seems to be getting the same 
>> failures I am, but I don't see any buildbot e-mails since Wednesday. 
>> Does anyone know the source of these errors? It seems to have to do 
>> with changes to the formatters.
>
> Mike,
>
> What is the easiest way to run a single test? I want to work on one 
> failure at at time.
You can provide a dot-separated path to the module and function, eg. 
(this is assuming the test is installed):
nosetests matplotlib.tests.test_simplification:test_clipping
Mike
>
> Eric
>
>
>>
>> Mike
>>
>> ------------------------------------------------------------------------------ 
>>
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Eric F. <ef...@ha...> - 2010年04月26日 18:37:13
Michael Droettboom wrote:
> I'm noticing that SVN r8269 is failing a great number of regression 
> tests -- with pretty major things like the number of digits in the 
> formatter being different. The buildbot seems to be getting the same 
> failures I am, but I don't see any buildbot e-mails since Wednesday. 
> Does anyone know the source of these errors? It seems to have to do 
> with changes to the formatters.
Mike,
What is the easiest way to run a single test? I want to work on one 
failure at at time.
Eric
> 
> Mike
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Eric F. <ef...@ha...> - 2010年04月26日 17:10:53
Michael Droettboom wrote:
> I'm noticing that SVN r8269 is failing a great number of regression 
> tests -- with pretty major things like the number of digits in the 
> formatter being different. The buildbot seems to be getting the same 
> failures I am, but I don't see any buildbot e-mails since Wednesday. 
> Does anyone know the source of these errors? It seems to have to do 
> with changes to the formatters.
I suspect I'm the culprit. I will look into it.
Eric
> 
> Mike
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Michael D. <md...@st...> - 2010年04月26日 16:59:29
I'm noticing that SVN r8269 is failing a great number of regression 
tests -- with pretty major things like the number of digits in the 
formatter being different. The buildbot seems to be getting the same 
failures I am, but I don't see any buildbot e-mails since Wednesday. 
Does anyone know the source of these errors? It seems to have to do 
with changes to the formatters.
Mike
From: Michael D. <md...@st...> - 2010年04月26日 16:17:40
Thanks. I can confirm this with today's SVN. I'm looking into the cause.
Mike
On 04/25/2010 07:11 PM, Tom Aldcroft wrote:
> import numpy
> import matplotlib
> matplotlib.use('Agg')
> import matplotlib.pyplot as plt
>
> y = numpy.array([
> 4., 2., 2., 3., 3., 2., 2., 6., 6., 5., 5., 4., 4.,
> 7., 7., 2., 2., 4., 4., 2., 2., 2., 2., 4., 4., 4.,
> 4., 4., 4., 7., 7., 3., 3., 5., 5., 4., 4., 5., 5.,
> 4., 4., 7., 7., 6., 6., 2., 2., 2., 2., 5., 5., 4.,
> 4., 4., 4., 6., 6., 3., 3., 4., 4., 3., 3., 2., 2.,
> 3., 3., 4., 4., 4., 4., 4., 4., 6., 6., 5., 5., 4.,
> 4., 7., 7., 3., 3., 4., 4., 4., 4., 5., 5., 4., 4.,
> 7., 7., 3., 3., 4., 4., 4., 4., 6., 6., 4., 4., 4.,
> 4., 4., 4., 2., 2., 5., 5., 6., 6., 3., 3., 5., 5.,
> 4., 4., 0., 0., 5., 5., 1., 1., 4., 4., 5., 5., 4.])
>
> plt.figure(figsize=(7,4))
> plt.plot(y)
> plt.savefig('test.png')
>
> plt.xlim(-12000, 8274)
> plt.savefig('test_panned.png')
> 
From: John H. <jd...@gm...> - 2010年04月26日 15:00:31
On Sun, Apr 25, 2010 at 1:09 PM, Miguel de Val Borro
<mig...@gm...> wrote:
> Hello,
>
> The amplitude of sharp peaks is not shown correctly when several plots
> are stitched together and the x scale becomes very large. I have
> noticed this problem with the pdf and png backends in the attached
> script.
This is a known bug which is fixed in svn. You need to set
path.simplify : False
in your matplotlibrc http://matplotlib.sourceforge.net/users/customizing.html
From: Tom A. <ald...@he...> - 2010年04月25日 23:11:46
I've run into a case where the rendering in a line plot is incomplete
and some lines are not drawn at all. I submitted a question to
matplotlib-users with the same subject. Eric Firing responded that
this is a manifestation of the "infamous path simplification" bug,
which should be fixed in svn. However, the script below shows the
same problem for me using the current svn on CentOS-5 with python 2.6.
 For my purposes setting path.simplify to False is fine but Eric
requested that I provide an example, so here it is:
import numpy
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
y = numpy.array([
 4., 2., 2., 3., 3., 2., 2., 6., 6., 5., 5., 4., 4.,
 7., 7., 2., 2., 4., 4., 2., 2., 2., 2., 4., 4., 4.,
 4., 4., 4., 7., 7., 3., 3., 5., 5., 4., 4., 5., 5.,
 4., 4., 7., 7., 6., 6., 2., 2., 2., 2., 5., 5., 4.,
 4., 4., 4., 6., 6., 3., 3., 4., 4., 3., 3., 2., 2.,
 3., 3., 4., 4., 4., 4., 4., 4., 6., 6., 5., 5., 4.,
 4., 7., 7., 3., 3., 4., 4., 4., 4., 5., 5., 4., 4.,
 7., 7., 3., 3., 4., 4., 4., 4., 6., 6., 4., 4., 4.,
 4., 4., 4., 2., 2., 5., 5., 6., 6., 3., 3., 5., 5.,
 4., 4., 0., 0., 5., 5., 1., 1., 4., 4., 5., 5., 4.])
plt.figure(figsize=(7,4))
plt.plot(y)
plt.savefig('test.png')
plt.xlim(-12000, 8274)
plt.savefig('test_panned.png')
- Tom
From: Neal B. <ndb...@gm...> - 2010年04月25日 19:15:29
Gökhan Sever wrote:
> On Sun, Apr 25, 2010 at 1:37 PM, Neal Becker
> <ndb...@gm...> wrote:
> 
>> Qt4Agg is the one that I used first - the one that doesn't work.
>>
> 
> Pardon my wrong guess :) Sometimes this Linux world goes beyond/behind my
> expectations...
> Can you run another Qt4 application properly?
> 
I'm sure I've used lots of PyQt4 apps before.
I just tried hp-toolbox, which seems to be PyQt4, and AFAICT it is working. 
Of course, matplotlib partly works also. Just the save dialog is broken.
From: Gökhan S. <gok...@gm...> - 2010年04月25日 18:44:47
On Sun, Apr 25, 2010 at 1:37 PM, Neal Becker <ndb...@gm...> wrote:
> Qt4Agg is the one that I used first - the one that doesn't work.
>
Pardon my wrong guess :) Sometimes this Linux world goes beyond/behind my
expectations...
Can you run another Qt4 application properly?
-- 
Gökhan
From: Neal B. <ndb...@gm...> - 2010年04月25日 18:38:30
Gökhan Sever wrote:
> On Sun, Apr 25, 2010 at 1:28 PM, Neal Becker
> <ndb...@gm...> wrote:
> 
>> savefig works fine.
>>
>> Using 'gtk' backend I can save, but seems to have other problems.
>>
>> Using recommended TkAgg I get error that
>> ImportError: No module named backend_tkagg
>>
> 
> You will have to make some installations to bring TkAgg alive. I would
> suggest trying also the Qt4Agg backend since KDE based on Qt. It is always
> a good idea to use the package manager for these. Let me know if this
> helps.
Qt4Agg is the one that I used first - the one that doesn't work.
2 messages has been excluded from this view by a project administrator.

Showing results of 89

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