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






Showing 7 results of 7

From: Eric F. <ef...@ha...> - 2009年05月29日 21:58:17
We still require only gtk 2.2, and consequently carry around some extra 
chunks of code to support versions before 2.4. Can we drop this and 
require 2.4 or later? Or possibly even a later version? It looks like 
2.4 came out in the fall of 2004.
Eric
I've found pyparsing rather brittle between revisions in the past, hence 
the desire to have a local copy. I don't know if recent versions have 
stabilized -- given that we have something that works, I'm not too keen 
on tinkering with it. 
Not knowing much about packaging myself, I think Debian should only go 
forward with using an external dependency if an *exact* version of 
pyparsing can be specified, rather than >=. Or at the very least, if a 
different version of pyparsing is applied, one needs to make sure that 
the mathtext examples all pass unchanged.
Mike
Sandro Tosi wrote:
> Hi guys,
>
> On Fri, May 29, 2009 at 11:51, Daniel Watkins
> <da...@da...> wrote:
> 
>> Package: python-matplotlib
>> Version: 0.98.3-5
>> Severity: normal
>>
>> python-matplotlib installs its own copy of pyparsing.py when it should
>> in fact be using the copy that is shipped in python-pyparsing.
>> 
>
> We've just receive this bug report about the internal copy of
> pyparsing included in mpl.
>
> The situation in Debian is:
>
> Stable 	 1.5.0-1
> Testing 	1.5.1-2
> Unstable 	1.5.2-1
>
> Currently mpl ship:
>
> $ grep "^__version" lib/matplotlib/pyparsing.py
> __version__ = "1.5.0"
> __versionTime__ = "28 May 2008 10:05"
>
> In the changelog I can see:
>
> $ egrep -A2 "2007-11-09.*pyparsing" CHANGELOG
> 2007年11月09日 Moved pyparsing back into matplotlib namespace. Don't use
> system pyparsing, API is too variable from one release
> to the next - DSD
>
> So there seems to be a reason for this "private" copy. The question
> is: is this reason still valid nowdays? should we (at least packagers)
> remove the private copy and rely on the system pyparsing (or at least
> introduce a "check if system has pyparsing, if not fallback on
> private" wrap)?
>
> I haven't checked, but maybe you already know the answer :)
>
> Cheers,
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
Hi guys,
On Fri, May 29, 2009 at 11:51, Daniel Watkins
<da...@da...> wrote:
> Package: python-matplotlib
> Version: 0.98.3-5
> Severity: normal
>
> python-matplotlib installs its own copy of pyparsing.py when it should
> in fact be using the copy that is shipped in python-pyparsing.
We've just receive this bug report about the internal copy of
pyparsing included in mpl.
The situation in Debian is:
Stable 	 1.5.0-1
Testing 	1.5.1-2
Unstable 	1.5.2-1
Currently mpl ship:
$ grep "^__version" lib/matplotlib/pyparsing.py
__version__ = "1.5.0"
__versionTime__ = "28 May 2008 10:05"
In the changelog I can see:
$ egrep -A2 "2007-11-09.*pyparsing" CHANGELOG
2007年11月09日 Moved pyparsing back into matplotlib namespace. Don't use
 system pyparsing, API is too variable from one release
 to the next - DSD
So there seems to be a reason for this "private" copy. The question
is: is this reason still valid nowdays? should we (at least packagers)
remove the private copy and rely on the system pyparsing (or at least
introduce a "check if system has pyparsing, if not fallback on
private" wrap)?
I haven't checked, but maybe you already know the answer :)
Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
From: Jae-Joon L. <lee...@gm...> - 2009年05月29日 06:05:42
The axes_grid examples, broken by the recent spine patch, are now
fixed in the svn.
Also, when I commit axes_grid toolkit into the trunk, I deleted a few
example under examples/pylab_examples. For example, axes_divider.py in
the error message below has been deleted.
IOError: [Errno 2] No such file or directory: 'axes_divider.py'
The doc build script somehow still try to run those script. I'll try
to look into what's going on later. If others know any trivial
solution, please go ahead and fix it.
▶◀
-JJ
On Thu, May 28, 2009 at 10:51 PM, John Hunter <jd...@gm...> wrote:
> I was just updating the site docs and a few examples are failing to
> build. Some of these are easy pickens, so if you have a quick fix,
> please put it in, and reply here when you've fixed one to avoid
> duplication of effort.
>
> JDH
>
> ================================
> File "geo_demo.py", line 9, in <module>
> File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/pyplot.py",
> line 645, in subplot
>  a = fig.add_subplot(*args, **kwargs)
> File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/figure.py",
> line 690, in add_subplot
>  a = subplot_class_factory(projection_class)(self, *args, **kwargs)
> File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/axes.py",
> line 7844, in __init__
>  self._axes_class.__init__(self, fig, self.figbox, **kwargs)
> File "custom_projection_example.py", line 35, in __init__
> File "custom_projection_example.py", line 50, in cla
> AttributeError: 'NoneType' object has no attribute 'cla'
>
> ============================================
>
> File "finance_work2.py", line 36, in <module>
> File "/usr/lib/python2.5/optparse.py", line 1387, in parse_args
>  self.error(str(err))
> File "/usr/lib/python2.5/optparse.py", line 1569, in error
>  self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
> File "/usr/lib/python2.5/optparse.py", line 1559, in exit
>  sys.exit(status)
> SystemExit: 2
>
>
> ===============================================
>
> directive.py", line 206, in makefig
>  runfile(fullpath)
> File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py",
> line 141, in runfile
>  fd = open(fname)
> IOError: [Errno 2] No such file or directory: 'anchored_text.py'
>
> warnings.warn(s)
> examples/pylab_examples/annotation_demo
> *********examples/pylab_examples/annotation_demo2
> ......examples/pylab_examples/anscombe
> ***examples/pylab_examples/arctest
> ***examples/pylab_examples/arrow_demo
> ...examples/pylab_examples/aspect_loglog
> ***examples/pylab_examples/axes_demo
> ***examples/pylab_examples/axes_divider
> /home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py:209:
> UserWarning: Exception running plot
> /home/jdhunter/mpl/doc/mpl_examples/pylab_examples/axes_divider.py
> Traceback (most recent call last):
> File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py",
> line 206, in makefig
>  runfile(fullpath)
> File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py",
> line 141, in runfile
>  fd = open(fname)
> IOError: [Errno 2] No such file or directory: 'axes_divider.py'
>
> warnings.warn(s)
> examples/pylab_examples/axes_grid
> /home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py:209:
> UserWarning: Exception running plot
> /home/jdhunter/mpl/doc/mpl_examples/pylab_examples/axes_grid.py
> Traceback (most recent call last):
> File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py",
> line 206, in makefig
>  runfile(fullpath)
> File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py",
> line 141, in runfile
>  fd = open(fname)
> IOError: [Errno 2] No such file or directory: 'axes_grid.py'
>
> warnings.warn(s)
>
> =================================================
>
>
> File "parasite_simple.py", line 6, in <module>
> File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/axes.py",
> line 7844, in __init__
>  self._axes_class.__init__(self, fig, self.figbox, **kwargs)
> File "/home/jdhunter/dev/lib/python2.5/site-packages/mpl_toolkits/axes_grid/parasite_axes.py",
> line 189, in __init__
>  super(HostAxes, self).__init__(*kl, **kwargs)
> File "/home/jdhunter/dev/lib/python2.5/site-packages/mpl_toolkits/axes_grid/axislines.py",
> line 1244, in __init__
>  self.toggle_axisline(True)
> File "/home/jdhunter/dev/lib/python2.5/site-packages/mpl_toolkits/axes_grid/axislines.py",
> line 1252, in toggle_axisline
>  self.frame.set_visible(False)
> File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/axes.py",
> line 988, in get_frame
>  raise AttributeError('Axes.frame was removed in favor of Axes.spines')
> AttributeError: Axes.frame was removed in favor of Axes.spines
>
>
> ...and lots more like these for axes_grid
>
> ===========================================================
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Andrew S. <str...@as...> - 2009年05月29日 05:09:15
John Hunter wrote:
> I was just updating the site docs and a few examples are failing to
> build. Some of these are easy pickens, so if you have a quick fix,
> please put it in, and reply here when you've fixed one to avoid
> duplication of effort.
If you can coerce the recipe I sent this list on May 20 for running the
unit tests to run these as well, we'll see these sooner. Furthermore,
I've been busy with the spines, but I think we should check in new
baseline images in the test suite so that the builtbot waterfall goes green.
-Andrew
From: John H. <jd...@gm...> - 2009年05月29日 02:52:02
I was just updating the site docs and a few examples are failing to
build. Some of these are easy pickens, so if you have a quick fix,
please put it in, and reply here when you've fixed one to avoid
duplication of effort.
JDH
================================
 File "geo_demo.py", line 9, in <module>
 File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/pyplot.py",
line 645, in subplot
 a = fig.add_subplot(*args, **kwargs)
 File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/figure.py",
line 690, in add_subplot
 a = subplot_class_factory(projection_class)(self, *args, **kwargs)
 File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/axes.py",
line 7844, in __init__
 self._axes_class.__init__(self, fig, self.figbox, **kwargs)
 File "custom_projection_example.py", line 35, in __init__
 File "custom_projection_example.py", line 50, in cla
AttributeError: 'NoneType' object has no attribute 'cla'
============================================
 File "finance_work2.py", line 36, in <module>
 File "/usr/lib/python2.5/optparse.py", line 1387, in parse_args
 self.error(str(err))
 File "/usr/lib/python2.5/optparse.py", line 1569, in error
 self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
 File "/usr/lib/python2.5/optparse.py", line 1559, in exit
 sys.exit(status)
SystemExit: 2
===============================================
directive.py", line 206, in makefig
 runfile(fullpath)
 File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py",
line 141, in runfile
 fd = open(fname)
IOError: [Errno 2] No such file or directory: 'anchored_text.py'
 warnings.warn(s)
examples/pylab_examples/annotation_demo
*********examples/pylab_examples/annotation_demo2
......examples/pylab_examples/anscombe
***examples/pylab_examples/arctest
***examples/pylab_examples/arrow_demo
...examples/pylab_examples/aspect_loglog
***examples/pylab_examples/axes_demo
***examples/pylab_examples/axes_divider
/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py:209:
UserWarning: Exception running plot
/home/jdhunter/mpl/doc/mpl_examples/pylab_examples/axes_divider.py
Traceback (most recent call last):
 File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py",
line 206, in makefig
 runfile(fullpath)
 File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py",
line 141, in runfile
 fd = open(fname)
IOError: [Errno 2] No such file or directory: 'axes_divider.py'
 warnings.warn(s)
examples/pylab_examples/axes_grid
/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py:209:
UserWarning: Exception running plot
/home/jdhunter/mpl/doc/mpl_examples/pylab_examples/axes_grid.py
Traceback (most recent call last):
 File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py",
line 206, in makefig
 runfile(fullpath)
 File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/sphinxext/plot_directive.py",
line 141, in runfile
 fd = open(fname)
IOError: [Errno 2] No such file or directory: 'axes_grid.py'
 warnings.warn(s)
=================================================
 File "parasite_simple.py", line 6, in <module>
 File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/axes.py",
line 7844, in __init__
 self._axes_class.__init__(self, fig, self.figbox, **kwargs)
 File "/home/jdhunter/dev/lib/python2.5/site-packages/mpl_toolkits/axes_grid/parasite_axes.py",
line 189, in __init__
 super(HostAxes, self).__init__(*kl, **kwargs)
 File "/home/jdhunter/dev/lib/python2.5/site-packages/mpl_toolkits/axes_grid/axislines.py",
line 1244, in __init__
 self.toggle_axisline(True)
 File "/home/jdhunter/dev/lib/python2.5/site-packages/mpl_toolkits/axes_grid/axislines.py",
line 1252, in toggle_axisline
 self.frame.set_visible(False)
 File "/home/jdhunter/dev/lib/python2.5/site-packages/matplotlib/axes.py",
line 988, in get_frame
 raise AttributeError('Axes.frame was removed in favor of Axes.spines')
AttributeError: Axes.frame was removed in favor of Axes.spines
...and lots more like these for axes_grid
===========================================================
From: John H. <jd...@gm...> - 2009年05月29日 01:18:31
On Wed, May 27, 2009 at 11:33 AM, Andrew Straw <str...@as...> wrote:
> I've gone ahead and committed my arbitrary spine location implementation
> to the trunk (svn r7144). I'd appreciate it if you could kick the tires.
> To get you started, try the new demo:
> examples/pylab_examples/spine_placement_demo.py
I just did a quick read through of the spine code and example, and
have two minor comments.
You do an isinstance(arg, basestring) to check for string input.
Typically, we encourage cbook.is_string_like to have a central point
of maintenance and consistency for these checks.
Also, in the example, you appear to turn off a spine by setting the
color to 'none'. My thought it would be more natural to use the
"visible" artist property here (or at least support both)
 @allow_rasterization
 def draw(self,renderer):
 "draw everything that belongs to the spine"
 if not self.get_visible() or self.color.lower()=='none' or not
self.color:
 # don't draw invisible spines
 return
 self.artist.draw(renderer)
Also, I think the class of strings representing "no color" in mpl is
larger -- it should also include self.color.lower()=='none' and the
empty string, which I've included in the example code.
JDH

Showing 7 results of 7

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