You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(115) |
Aug
(120) |
Sep
(137) |
Oct
(170) |
Nov
(461) |
Dec
(263) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(120) |
Feb
(74) |
Mar
(35) |
Apr
(74) |
May
(245) |
Jun
(356) |
Jul
(240) |
Aug
(115) |
Sep
(78) |
Oct
(225) |
Nov
(98) |
Dec
(271) |
| 2009 |
Jan
(132) |
Feb
(84) |
Mar
(74) |
Apr
(56) |
May
(90) |
Jun
(79) |
Jul
(83) |
Aug
(296) |
Sep
(214) |
Oct
(76) |
Nov
(82) |
Dec
(66) |
| 2010 |
Jan
(46) |
Feb
(58) |
Mar
(51) |
Apr
(77) |
May
(58) |
Jun
(126) |
Jul
(128) |
Aug
(64) |
Sep
(50) |
Oct
(44) |
Nov
(48) |
Dec
(54) |
| 2011 |
Jan
(68) |
Feb
(52) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <lee...@us...> - 2008-12-11 17:45:49
|
Revision: 6562
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6562&view=rev
Author: leejjoon
Date: 2008-12-11 17:45:45 +0000 (Thu, 11 Dec 2008)
Log Message:
-----------
fixed typo in Line2D.set_marker doc.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/lines.py
Modified: trunk/matplotlib/lib/matplotlib/lines.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/lines.py 2008-12-11 03:25:31 UTC (rev 6561)
+++ trunk/matplotlib/lib/matplotlib/lines.py 2008-12-11 17:45:45 UTC (rev 6562)
@@ -651,9 +651,9 @@
"""
Set the line marker
- ========= ==========================
+ ========== ==========================
marker description
- ========= ==========================
+ ========== ==========================
'.' point
',' pixel
'o' circle
@@ -687,7 +687,7 @@
'None' nothing
' ' nothing
'' nothing
- ========= ==========================
+ ========== ==========================
ACCEPTS: [ '+' | '*' | ',' | '.' | '1' | '2' | '3' | '4'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ds...@us...> - 2008-12-11 03:25:34
|
Revision: 6561
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6561&view=rev
Author: dsdale
Date: 2008-12-11 03:25:31 +0000 (Thu, 11 Dec 2008)
Log Message:
-----------
fixed a typo in whats_new_98_4_legend.py
Modified Paths:
--------------
trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py
Modified: trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py
===================================================================
--- trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py 2008-12-11 03:04:59 UTC (rev 6560)
+++ trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py 2008-12-11 03:25:31 UTC (rev 6561)
@@ -8,7 +8,7 @@
for n in [1, 2, 3, 4]:
plt.plot(t1, t1**n, label="n=%d"%(n,))
-leg = plt.legend(loc='best', nncol=2, mode="expand", shadow=True, fancybox=True)
+leg = plt.legend(loc='best', ncol=2, mode="expand", shadow=True, fancybox=True)
leg.get_frame().set_alpha(0.5)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-11 03:05:08
|
Revision: 6560
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6560&view=rev
Author: jdh2358
Date: 2008-12-11 03:04:59 +0000 (Thu, 11 Dec 2008)
Log Message:
-----------
added support for xlwt in exceltools
Modified Paths:
--------------
trunk/matplotlib/doc/devel/release_guide.rst
trunk/matplotlib/lib/mpl_toolkits/exceltools.py
Modified: trunk/matplotlib/doc/devel/release_guide.rst
===================================================================
--- trunk/matplotlib/doc/devel/release_guide.rst 2008-12-11 01:10:35 UTC (rev 6559)
+++ trunk/matplotlib/doc/devel/release_guide.rst 2008-12-11 03:04:59 UTC (rev 6560)
@@ -46,6 +46,12 @@
* on windows, unix2dos the rc file
+* make a branch of the svn revision that is released, in case we need
+ to do a bug fix release. Eg, from the top level of the mpl svn
+ tree, the one which has "branches", "tags" and "trunk", do::
+
+ > svn copy trunk/matplotlib branches/v0_98_4_maint
+
.. _release-uploading:
Uploading
Modified: trunk/matplotlib/lib/mpl_toolkits/exceltools.py
===================================================================
--- trunk/matplotlib/lib/mpl_toolkits/exceltools.py 2008-12-11 01:10:35 UTC (rev 6559)
+++ trunk/matplotlib/lib/mpl_toolkits/exceltools.py 2008-12-11 03:04:59 UTC (rev 6560)
@@ -21,7 +21,15 @@
"""
import copy
import numpy as np
-import pyExcelerator as excel
+
+try:
+ import xlwt as excel
+except ImportError:
+ try:
+ import pyExcelerator as excel
+ except ImportError:
+ raise ImportError('You must install xlwt or pyExcelterator to use the exceltools')
+
import matplotlib.cbook as cbook
import matplotlib.mlab as mlab
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-11 01:10:47
|
Revision: 6559
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6559&view=rev
Author: jdh2358
Date: 2008-12-11 01:10:35 +0000 (Thu, 11 Dec 2008)
Log Message:
-----------
figure/subplot and font_manager bugfixes
Modified Paths:
--------------
trunk/matplotlib/CHANGELOG
trunk/matplotlib/lib/matplotlib/__init__.py
trunk/matplotlib/lib/matplotlib/figure.py
trunk/matplotlib/lib/matplotlib/font_manager.py
Modified: trunk/matplotlib/CHANGELOG
===================================================================
--- trunk/matplotlib/CHANGELOG 2008-12-10 23:40:00 UTC (rev 6558)
+++ trunk/matplotlib/CHANGELOG 2008-12-11 01:10:35 UTC (rev 6559)
@@ -1,3 +1,6 @@
+2008-12-10 Added Michael's font_manager fix and Jae-Joon's
+ figure/subplot fix. Bumped version number to 0.98.5 - JDH
+
================================================================= 2008-12-09 Released 0.98.4 at svn r6536
2008-12-08 Added mdehoon's native macosx backend from sf patch 2179017 - JDH
Modified: trunk/matplotlib/lib/matplotlib/__init__.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/__init__.py 2008-12-10 23:40:00 UTC (rev 6558)
+++ trunk/matplotlib/lib/matplotlib/__init__.py 2008-12-11 01:10:35 UTC (rev 6559)
@@ -89,7 +89,7 @@
"""
from __future__ import generators
-__version__ = '0.98.4'
+__version__ = '0.98.5rc'
__revision__ = '$Revision$'
__date__ = '$Date$'
Modified: trunk/matplotlib/lib/matplotlib/figure.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/figure.py 2008-12-10 23:40:00 UTC (rev 6558)
+++ trunk/matplotlib/lib/matplotlib/figure.py 2008-12-11 01:10:35 UTC (rev 6559)
@@ -676,21 +676,21 @@
projection_class = get_projection_class(projection)
- key = self._make_key(*args, **kwargs)
- if key in self._seen:
- ax = self._seen[key]
- if isinstance(ax, projection_class):
- self.sca(ax)
- return ax
- else:
- self.axes.remove(ax)
- self._axstack.remove(ax)
+ key = self._make_key(*args, **kwargs)
+ if key in self._seen:
+ ax = self._seen[key]
+ if isinstance(ax, projection_class):
+ self.sca(ax)
+ return ax
+ else:
+ self.axes.remove(ax)
+ self._axstack.remove(ax)
- a = subplot_class_factory(projection_class)(self, *args, **kwargs)
+ a = subplot_class_factory(projection_class)(self, *args, **kwargs)
+ self._seen[key] = a
self.axes.append(a)
self._axstack.push(a)
self.sca(a)
- self._seen[key] = a
return a
add_subplot.__doc__ = dedent(add_subplot.__doc__) % {
'list': ", ".join(get_projection_names()),
Modified: trunk/matplotlib/lib/matplotlib/font_manager.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/font_manager.py 2008-12-10 23:40:00 UTC (rev 6558)
+++ trunk/matplotlib/lib/matplotlib/font_manager.py 2008-12-11 01:10:35 UTC (rev 6559)
@@ -1068,7 +1068,7 @@
options = rcParams['font.' + family1]
if family2 in options:
idx = options.index(family2)
- return 0.1
+ return 0.1 * (float(idx) / len(options))
elif family1.lower() == family2.lower():
return 0.0
return 1.0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <md...@us...> - 2008-12-10 23:40:03
|
Revision: 6558
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6558&view=rev
Author: mdboom
Date: 2008-12-10 23:40:00 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
Removing this merge branch tracker since it doesn't work
Property Changed:
----------------
trunk/matplotlib/
Property changes on: trunk/matplotlib
___________________________________________________________________
Modified: svnmerge-integrated
- /branches/v0_91_maint:1-6428 /branches/v0_98_4_maint/matplotlib:1-6556
+ /branches/v0_91_maint:1-6428
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <md...@us...> - 2008-12-10 23:31:22
|
Revision: 6557
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6557&view=rev
Author: mdboom
Date: 2008-12-10 23:31:19 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
Initialized merge tracking via "svnmerge" with revisions "1-6556" from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_98_4_maint/matplotlib
Property Changed:
----------------
trunk/matplotlib/
Property changes on: trunk/matplotlib
___________________________________________________________________
Modified: svnmerge-integrated
- /branches/v0_91_maint:1-6428
+ /branches/v0_91_maint:1-6428 /branches/v0_98_4_maint/matplotlib:1-6556
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <md...@us...> - 2008-12-10 23:27:51
|
Revision: 6556
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6556&view=rev
Author: mdboom
Date: 2008-12-10 23:27:46 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
Removed merge tracking for "svnmerge" for
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v0_98_4_maint
Property Changed:
----------------
trunk/matplotlib/
Property changes on: trunk/matplotlib
___________________________________________________________________
Modified: svnmerge-integrated
- /branches/v0_91_maint:1-6428 /branches/v0_98_4_maint:1-6550
+ /branches/v0_91_maint:1-6428
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <md...@us...> - 2008-12-10 23:25:53
|
Revision: 6555
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6555&view=rev
Author: mdboom
Date: 2008-12-10 23:25:50 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
Fix problem with prioritization of font names
Modified Paths:
--------------
branches/v0_98_4_maint/matplotlib/CHANGELOG
branches/v0_98_4_maint/matplotlib/lib/matplotlib/font_manager.py
Modified: branches/v0_98_4_maint/matplotlib/CHANGELOG
===================================================================
--- branches/v0_98_4_maint/matplotlib/CHANGELOG 2008-12-10 21:12:26 UTC (rev 6554)
+++ branches/v0_98_4_maint/matplotlib/CHANGELOG 2008-12-10 23:25:50 UTC (rev 6555)
@@ -1,5 +1,9 @@
-================================================================= 2008-12-09 Released 0.98.4 at svn r6536
+2008-12-10 Fix problem specifying more than one concrete font family
+name - MGD
+=================================================================
+2008-12-09 Released 0.98.4 at svn r6536
+
2008-12-08 Added mdehoon's native macosx backend from sf patch 2179017 - JDH
2008-12-08 Removed the prints in the set_*style commands. Return the
Modified: branches/v0_98_4_maint/matplotlib/lib/matplotlib/font_manager.py
===================================================================
--- branches/v0_98_4_maint/matplotlib/lib/matplotlib/font_manager.py 2008-12-10 21:12:26 UTC (rev 6554)
+++ branches/v0_98_4_maint/matplotlib/lib/matplotlib/font_manager.py 2008-12-10 23:25:50 UTC (rev 6555)
@@ -1068,7 +1068,7 @@
options = rcParams['font.' + family1]
if family2 in options:
idx = options.index(family2)
- return 0.1
+ return 0.1 * (float(idx) / len(options))
elif family1.lower() == family2.lower():
return 0.0
return 1.0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ry...@us...> - 2008-12-10 21:12:38
|
Revision: 6554
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6554&view=rev
Author: ryanmay
Date: 2008-12-10 21:12:26 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
Remove trailing whitespace.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/patches.py
Modified: trunk/matplotlib/lib/matplotlib/patches.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/patches.py 2008-12-10 21:02:44 UTC (rev 6553)
+++ trunk/matplotlib/lib/matplotlib/patches.py 2008-12-10 21:12:26 UTC (rev 6554)
@@ -2208,7 +2208,7 @@
connected. *patchA* (or *patchB*) is given, the returned path is
clipped so that it start (or end) from the boundary of the
patch. The path is further shrunk by *shrinkA* (or *shrinkB*)
- which is given in points.
+ which is given in points.
"""
@@ -3372,7 +3372,7 @@
Old attrs simply are forgotten.
- Without argument (or with arrowstyle=None), return
+ Without argument (or with arrowstyle=None), return
available box styles as a list of strings.
"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 21:02:51
|
Revision: 6553
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6553&view=rev
Author: jdh2358
Date: 2008-12-10 21:02:44 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
added some docs for linestyles and markers
Modified Paths:
--------------
trunk/matplotlib/doc/devel/coding_guide.rst
trunk/matplotlib/doc/matplotlibrc
trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py
trunk/matplotlib/lib/matplotlib/lines.py
Modified: trunk/matplotlib/doc/devel/coding_guide.rst
===================================================================
--- trunk/matplotlib/doc/devel/coding_guide.rst 2008-12-10 17:29:21 UTC (rev 6552)
+++ trunk/matplotlib/doc/devel/coding_guide.rst 2008-12-10 21:02:44 UTC (rev 6553)
@@ -62,45 +62,12 @@
:file:`MANIFEST.in`. This file determines what goes into the source
distribution of the mpl build.
-* Keep the maintenance branch and trunk in sync where it makes sense.
- If there is a bug on both that needs fixing, use `svnmerge.py
+* Keep the maintenance branch (0.91) the latest release branch (eg
+ 0.98.4) and trunk in sync where it makes sense. If there is a bug
+ on both that needs fixing, use `svnmerge.py
<http://www.orcaware.com/svn/wiki/Svnmerge.py>`_ to keep them in
- sync. The basic procedure is:
+ sync. See :ref:`svn-merge` below.
- * install ``svnmerge.py`` in your PATH::
-
- > wget http://svn.collab.net/repos/svn/trunk/contrib/client-side/\
- svnmerge/svnmerge.py
-
- * get a svn copy of the maintenance branch and the trunk (see above)
-
- * Michael advises making the change on the branch and committing
- it. Make sure you svn upped on the trunk and have no local
- modifications, and then from the svn trunk do::
-
- > svnmerge.py merge
-
- If you wish to merge only specific revisions (in an unusual
- situation), do::
-
- > svnmerge.py merge -rNNN1-NNN2
-
- where the ``NNN`` are the revision numbers. Ranges are also
- acceptable.
-
- The merge may have found some conflicts (code that must be
- manually resolved). Correct those conflicts, build matplotlib and
- test your choices. If you have resolved any conflicts, you can
- let svn clean up the conflict files for you::
-
- > svn -R resolved .
-
- ``svnmerge.py`` automatically creates a file containing the commit
- messages, so you are ready to make the commit::
-
- > svn commit -F svnmerge-commit-message.txt
-
-
.. _style-guide:
Style guide
@@ -385,10 +352,84 @@
> python simple_plot.py -d module://my_backend
+.. _svn-merge:
+Using svn-merge
+================
+The basic procedure is:
+* install ``svnmerge.py`` in your PATH::
+ > wget http://svn.collab.net/repos/svn/trunk/contrib/client-side/\
+ svnmerge/svnmerge.py
+
+* get a svn copy of the maintenance branch and the trunk (see above)
+
+* Michael advises making the change on the branch and committing it.
+ Make sure you svn upped on the trunk and have no local
+ modifications, and then from the svn trunk do::
+
+ svnmerge.py merge
+
+ If you wish to merge only specific revisions (in an unusual
+ situation), do::
+
+ > svnmerge.py merge -rNNN1-NNN2
+
+ where the ``NNN`` are the revision numbers. Ranges are also
+ acceptable.
+
+ The merge may have found some conflicts (code that must be manually
+ resolved). Correct those conflicts, build matplotlib and test your
+ choices. If you have resolved any conflicts, you can let svn clean
+ up the conflict files for you::
+
+ > svn -R resolved .
+
+ ``svnmerge.py`` automatically creates a file containing the commit
+ messages, so you are ready to make the commit::
+
+ > svn commit -F svnmerge-commit-message.txt
+
+
+* You can add a new branch for the trunk to "track" using
+ "svnmerge.py init", e.g., from a working copy of the trunk::
+
+ > svnmerge.py init https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_98_4_maint
+ property 'svnmerge-integrated' set on '.'
+
+ After doing a "svn commit" on this, this merge tracking is available
+ to everyone, so there's no need for anyone else to do the "svnmerge
+ init". I'll go ahead and commit this now.
+
+ Now, the trunk is tracking two branches for merges, 0.91.x and
+ 0.98.4. This means that when doing a merge, one must manually
+ specify which branch to merge from using the "-S" parameter. You
+ can see which branches are available for merge using "svnmerge.py
+ avail"::
+
+ > svnmerge.py avail
+ svnmerge: multiple sources found. Explicit source argument (-S/--source) required.
+ The merge sources available are:
+ /branches/v0_91_maint
+ /branches/v0_98_4_maint
+
+ So to merge from 0.98.4, one would type::
+
+ > svnmerge.py --source v0_98_4_maint merge
+
+ (rather than the "svnmerge.py merge" we used to do).
+
+* The tracking for 0.98.4 can be removed with the "svnmerge.py
+ uninit" command, e.g.::
+
+ > svnmerge.py --source v0_9_4_maint uninit
+
+ This will make merging slightly easier, (since the -S parameter is
+ not required), and it is generally good practice in the long run to
+ not keep extra branches lying around.
+
.. _license-discussion:
Licenses
Modified: trunk/matplotlib/doc/matplotlibrc
===================================================================
--- trunk/matplotlib/doc/matplotlibrc 2008-12-10 17:29:21 UTC (rev 6552)
+++ trunk/matplotlib/doc/matplotlibrc 2008-12-10 21:02:44 UTC (rev 6553)
@@ -43,7 +43,7 @@
### LINES
# See http://matplotlib.sourceforge.net/matplotlib.lines.html for more
# information on line properties.
-#lines.linewidth : 1.0 # line width in points
+lines.linewidth : 1.5 # line width in points
#lines.linestyle : - # solid line
#lines.color : blue
#lines.marker : None # the default marker
Modified: trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py
===================================================================
--- trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py 2008-12-10 17:29:21 UTC (rev 6552)
+++ trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py 2008-12-10 21:02:44 UTC (rev 6553)
@@ -4,12 +4,12 @@
ax = plt.subplot(111)
-t1 = np.arange(0.0, 1.0, 0.1)
+t1 = np.arange(0.0, 1.0, 0.01)
for n in [1, 2, 3, 4]:
plt.plot(t1, t1**n, label="n=%d"%(n,))
-leg = plt.legend(loc='best', ncol=4, mode="expand", shadow=True, fancybox=True)
-leg.get_frame().set_alpha(0.7)
+leg = plt.legend(loc='best', nncol=2, mode="expand", shadow=True, fancybox=True)
+leg.get_frame().set_alpha(0.5)
plt.show()
Modified: trunk/matplotlib/lib/matplotlib/lines.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/lines.py 2008-12-10 17:29:21 UTC (rev 6552)
+++ trunk/matplotlib/lib/matplotlib/lines.py 2008-12-10 21:02:44 UTC (rev 6553)
@@ -313,7 +313,7 @@
'return the pick radius used for containment tests'
return self.pickradius
- def set_pickradius(self,d):
+ def setpickradius(self,d):
"""Sets the pick radius used for containment tests
ACCEPTS: float distance in points
@@ -689,6 +689,7 @@
'' nothing
========= ==========================
+
ACCEPTS: [ '+' | '*' | ',' | '.' | '1' | '2' | '3' | '4'
| '<' | '>' | 'D' | 'H' | '^' | '_' | 'd'
| 'h' | 'o' | 'p' | 's' | 'v' | 'x' | '|'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <md...@us...> - 2008-12-10 17:29:25
|
Revision: 6552
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6552&view=rev
Author: mdboom
Date: 2008-12-10 17:29:21 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
Initialized merge tracking via "svnmerge" with revisions "1-6550" from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_98_4_maint
Property Changed:
----------------
trunk/matplotlib/
Property changes on: trunk/matplotlib
___________________________________________________________________
Modified: svnmerge-integrated
- /branches/v0_91_maint:1-6428
+ /branches/v0_91_maint:1-6428 /branches/v0_98_4_maint:1-6550
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 17:22:54
|
Revision: 6551
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6551&view=rev
Author: jdh2358
Date: 2008-12-10 17:22:51 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
more doc adds
Modified Paths:
--------------
trunk/matplotlib/doc/users/whats_new.rst
Modified: trunk/matplotlib/doc/users/whats_new.rst
===================================================================
--- trunk/matplotlib/doc/users/whats_new.rst 2008-12-10 16:39:01 UTC (rev 6550)
+++ trunk/matplotlib/doc/users/whats_new.rst 2008-12-10 17:22:51 UTC (rev 6551)
@@ -10,8 +10,17 @@
==============================
It's been four months since the last matplotlib release, and there are
-a lot of new features and bug-fixes
+a lot of new features and bug-fixes.
+Thanks to Charlie Moad for testing and preparing the source release,
+including binaries for OS X and Windows for python 2.4 and 2.5 (2.6
+and 3.0 will not be available until numpy is available on those
+releases). Thanks to the many developers who contributed to this
+release, with contributions from Jae-Joon Lee, Michael Droettboom,
+Ryan May, Eric Firing, Manuel Metz, Jouni K. Seppaenen, Jeff Whitaker,
+Darren Dale, David Kaplan, Michiel de Hoon and many others who
+submitted patches
+
.. _legend-refactor:
Legend enhancements
@@ -40,6 +49,22 @@
.. _psd-amplitude:
+
+Native OS X backend
+--------------------
+
+Michiel de Hoon has provided a native Mac OSX backend that is almost
+completely implemented in C. The backend can therefore use Quartz
+directly and, depending on the application, can be orders of magnitude
+faster than the existing backends. In addition, no third-party
+libraries are needed other than Python and NumPy. The backend is
+interactive from the usual terminal application on Mac using regular
+Python. It hasn't been tested with ipython yet, but in principle it
+should to work there as well. Set 'backend : macosx' in your
+matplotlibrc file, or run your script with::
+
+ > python myfile.py -dmacosx
+
psd amplitude scaling
-------------------------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 16:39:06
|
Revision: 6550
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6550&view=rev
Author: jdh2358
Date: 2008-12-10 16:39:01 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
updates to doc
Modified Paths:
--------------
trunk/matplotlib/doc/api/artist_api.rst
trunk/matplotlib/doc/devel/coding_guide.rst
trunk/matplotlib/doc/users/whats_new.rst
trunk/matplotlib/examples/pylab_examples/psd_demo2.py
trunk/matplotlib/examples/pylab_examples/psd_demo3.py
trunk/matplotlib/lib/matplotlib/axes.py
trunk/matplotlib/lib/matplotlib/legend.py
trunk/matplotlib/lib/matplotlib/patches.py
Added Paths:
-----------
trunk/matplotlib/doc/pyplots/whats_new_98_4_fancy.py
trunk/matplotlib/doc/pyplots/whats_new_98_4_fill_between.py
trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py
Modified: trunk/matplotlib/doc/api/artist_api.rst
===================================================================
--- trunk/matplotlib/doc/api/artist_api.rst 2008-12-10 15:22:03 UTC (rev 6549)
+++ trunk/matplotlib/doc/api/artist_api.rst 2008-12-10 16:39:01 UTC (rev 6550)
@@ -15,6 +15,14 @@
:undoc-members:
:show-inheritance:
+:mod:`matplotlib.legend`
+=============================
+
+.. automodule:: matplotlib.legend
+ :members:
+ :undoc-members:
+ :show-inheritance:
+
:mod:`matplotlib.lines`
=============================
Modified: trunk/matplotlib/doc/devel/coding_guide.rst
===================================================================
--- trunk/matplotlib/doc/devel/coding_guide.rst 2008-12-10 15:22:03 UTC (rev 6549)
+++ trunk/matplotlib/doc/devel/coding_guide.rst 2008-12-10 16:39:01 UTC (rev 6550)
@@ -27,6 +27,12 @@
svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/\
v0_91_maint mpl91 --username=youruser --password=yourpass
+The current release of the trunk is in the 0.98.4 maintenance branch::
+
+ svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/\
+ v0_98_4_maint mpl98.4 --username=youruser --password=yourpass
+
+
Committing changes
------------------
Added: trunk/matplotlib/doc/pyplots/whats_new_98_4_fancy.py
===================================================================
--- trunk/matplotlib/doc/pyplots/whats_new_98_4_fancy.py (rev 0)
+++ trunk/matplotlib/doc/pyplots/whats_new_98_4_fancy.py 2008-12-10 16:39:01 UTC (rev 6550)
@@ -0,0 +1,54 @@
+import matplotlib.patches as mpatch
+import matplotlib.pyplot as plt
+
+figheight = 8
+fig = plt.figure(1, figsize=(9, figheight), dpi=80)
+fontsize = 0.4 * fig.dpi
+
+def make_boxstyles(ax):
+ styles = mpatch.BoxStyle.get_styles()
+
+ for i, (stylename, styleclass) in enumerate(styles.items()):
+ ax.text(0.5, (float(len(styles)) - 0.5 - i)/len(styles), stylename,
+ ha="center",
+ size=fontsize,
+ transform=ax.transAxes,
+ bbox=dict(boxstyle=stylename, fc="w", ec="k"))
+
+def make_arrowstyles(ax):
+ styles = mpatch.ArrowStyle.get_styles()
+
+ ax.set_xlim(0, 4)
+ ax.set_ylim(0, figheight)
+
+ for i, (stylename, styleclass) in enumerate(sorted(styles.items())):
+ y = (float(len(styles)) -0.25 - i) # /figheight
+ p = mpatch.Circle((3.2, y), 0.2, fc="w")
+ ax.add_patch(p)
+
+ ax.annotate(stylename, (3.2, y),
+ (2., y),
+ #xycoords="figure fraction", textcoords="figure fraction",
+ ha="right", va="center",
+ size=fontsize,
+ arrowprops=dict(arrowstyle=stylename,
+ patchB=p,
+ shrinkA=5,
+ shrinkB=5,
+ fc="w", ec="k",
+ connectionstyle="arc3,rad=-0.05",
+ ),
+ bbox=dict(boxstyle="square", fc="w"))
+
+ ax.xaxis.set_visible(False)
+ ax.yaxis.set_visible(False)
+
+
+ax1 = fig.add_subplot(121, frameon=False, xticks=[], yticks=[])
+make_boxstyles(ax1)
+
+ax2 = fig.add_subplot(122, frameon=False, xticks=[], yticks=[])
+make_arrowstyles(ax2)
+
+
+plt.show()
Added: trunk/matplotlib/doc/pyplots/whats_new_98_4_fill_between.py
===================================================================
--- trunk/matplotlib/doc/pyplots/whats_new_98_4_fill_between.py (rev 0)
+++ trunk/matplotlib/doc/pyplots/whats_new_98_4_fill_between.py 2008-12-10 16:39:01 UTC (rev 6550)
@@ -0,0 +1,17 @@
+#!/usr/bin/env python
+import matplotlib.mlab as mlab
+from pylab import figure, show
+import numpy as np
+
+x = np.arange(0.0, 2, 0.01)
+y1 = np.sin(2*np.pi*x)
+y2 = 1.2*np.sin(4*np.pi*x)
+
+fig = figure()
+ax = fig.add_subplot(111)
+ax.plot(x, y1, x, y2, color='black')
+ax.fill_between(x, y1, y2, where=y2>y1, facecolor='green')
+ax.fill_between(x, y1, y2, where=y2<=y1, facecolor='red')
+ax.set_title('fill between where')
+
+show()
Added: trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py
===================================================================
--- trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py (rev 0)
+++ trunk/matplotlib/doc/pyplots/whats_new_98_4_legend.py 2008-12-10 16:39:01 UTC (rev 6550)
@@ -0,0 +1,18 @@
+import matplotlib.pyplot as plt
+import numpy as np
+import matplotlib.pyplot as plt
+
+
+ax = plt.subplot(111)
+t1 = np.arange(0.0, 1.0, 0.1)
+for n in [1, 2, 3, 4]:
+ plt.plot(t1, t1**n, label="n=%d"%(n,))
+
+leg = plt.legend(loc='best', ncol=4, mode="expand", shadow=True, fancybox=True)
+leg.get_frame().set_alpha(0.7)
+
+
+plt.show()
+
+
+
Modified: trunk/matplotlib/doc/users/whats_new.rst
===================================================================
--- trunk/matplotlib/doc/users/whats_new.rst 2008-12-10 15:22:03 UTC (rev 6549)
+++ trunk/matplotlib/doc/users/whats_new.rst 2008-12-10 16:39:01 UTC (rev 6550)
@@ -19,8 +19,10 @@
Jae-Joon has rewritten the legend class, and added support for
multiple columns and rows, as well as fancy box drawing. See
-:ref:`pylab_examples-legend_demo3`.
+:func:`~matplotlib.pyplot.legend` and
+:class:`matplotlib.legend.Legend`.
+.. plot:: pyplots/whats_new_98_4_legend.py
.. _fancy-annotations:
@@ -29,9 +31,13 @@
Jae-Joon has added lot's of support to annotations for drawing fancy
boxes and connectors in annotations. See
-:ref:`pylab_examples-annotation_demo2` and
-:ref:`pylab_examples-fancyarrow_demo`.
+:func:`~matplotlib.pyplot.annotate` and
+:class:`~matplotlib.patches.BoxStyle`,
+:class:`~matplotlib.patches.ArrowStyle`, and
+:class:`~matplotlib.patches.ConnectionStyle`.
+.. plot:: pyplots/whats_new_98_4_fancy.py
+
.. _psd-amplitude:
psd amplitude scaling
@@ -49,9 +55,13 @@
------------------
Added a :func:`~matplotlib.pyplot.fill_between` function to make it
-easier to do shaded region plots in the presence of masked data. See
-:ref:`pylab_examples-fill_between`.
+easier to do shaded region plots in the presence of masked data. You
+can pass an *x* array and a *ylower* and *yupper* array to fill
+betweem, and an optional *where* argument which is a logical mask
+where you want to do the filling.
+.. plot:: pyplots/whats_new_98_4_fill_between.py
+
Lots more
-----------
Modified: trunk/matplotlib/examples/pylab_examples/psd_demo2.py
===================================================================
--- trunk/matplotlib/examples/pylab_examples/psd_demo2.py 2008-12-10 15:22:03 UTC (rev 6549)
+++ trunk/matplotlib/examples/pylab_examples/psd_demo2.py 2008-12-10 16:39:01 UTC (rev 6550)
@@ -10,6 +10,7 @@
#Plot the raw time series
fig = plt.figure()
+fig.subplots_adjust(hspace=0.45, wspace=0.3)
ax = fig.add_subplot(2, 1, 1)
ax.plot(t, y)
@@ -19,7 +20,7 @@
ax2.psd(y, NFFT=len(t), pad_to=len(t), Fs=fs)
ax2.psd(y, NFFT=len(t), pad_to=len(t)*2, Fs=fs)
ax2.psd(y, NFFT=len(t), pad_to=len(t)*4, Fs=fs)
-plt.title('Effect of zero padding')
+plt.title('zero padding')
#Plot the PSD with different block sizes, Zero pad to the length of the orignal
#data sequence.
@@ -27,13 +28,15 @@
ax3.psd(y, NFFT=len(t), pad_to=len(t), Fs=fs)
ax3.psd(y, NFFT=len(t)//2, pad_to=len(t), Fs=fs)
ax3.psd(y, NFFT=len(t)//4, pad_to=len(t), Fs=fs)
-plt.title('Effect of block size')
+ax3.set_ylabel('')
+plt.title('block size')
#Plot the PSD with different amounts of overlap between blocks
ax4 = fig.add_subplot(2, 3, 6, sharex=ax2, sharey=ax2)
ax4.psd(y, NFFT=len(t)//2, pad_to=len(t), noverlap=0, Fs=fs)
ax4.psd(y, NFFT=len(t)//2, pad_to=len(t), noverlap=int(0.05*len(t)/2.), Fs=fs)
ax4.psd(y, NFFT=len(t)//2, pad_to=len(t), noverlap=int(0.2*len(t)/2.), Fs=fs)
-plt.title('Effect of overlap')
+ax4.set_ylabel('')
+plt.title('overlap')
plt.show()
Modified: trunk/matplotlib/examples/pylab_examples/psd_demo3.py
===================================================================
--- trunk/matplotlib/examples/pylab_examples/psd_demo3.py 2008-12-10 15:22:03 UTC (rev 6549)
+++ trunk/matplotlib/examples/pylab_examples/psd_demo3.py 2008-12-10 16:39:01 UTC (rev 6550)
@@ -14,11 +14,12 @@
yticks = np.arange(-50, 30, 10)
xticks = np.arange(0,550,100)
+plt.subplots_adjust(hspace=0.45, wspace=0.3)
+plt.subplot(1,2,1)
-plt.subplot(1,2,1)
plt.psd(xn, NFFT=301, Fs=fs, window=mlab.window_none, pad_to=1024,
scale_by_freq=True)
-plt.title('Periodogram PSD Estimate')
+plt.title('Periodogram')
plt.yticks(yticks)
plt.xticks(xticks)
plt.grid(True)
@@ -26,9 +27,10 @@
plt.subplot(1,2,2)
plt.psd(xn, NFFT=150, Fs=fs, window=mlab.window_none, noverlap=75, pad_to=512,
scale_by_freq=True)
-plt.title('Welch Method PSD Estimate')
+plt.title('Welch')
plt.xticks(xticks)
plt.yticks(yticks)
+plt.ylabel('')
plt.grid(True)
plt.show()
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py 2008-12-10 15:22:03 UTC (rev 6549)
+++ trunk/matplotlib/lib/matplotlib/axes.py 2008-12-10 16:39:01 UTC (rev 6550)
@@ -2742,6 +2742,8 @@
Keyword arguments:
%(Annotation)s
+
+ .. plot:: mpl_examples/pylab_examples/annotation_demo2.py
"""
a = mtext.Annotation(*args, **kwargs)
a.set_transform(mtransforms.IdentityTransform())
@@ -5587,14 +5589,11 @@
*kwargs*
keyword args passed on to the :class:`PolyCollection`
- .. seealso::
- :file:`examples/pylab_examples/fill_between.py`:
- For more examples.
-
kwargs control the Polygon properties:
%(PolyCollection)s
+ .. plot:: mpl_examples/pylab_examples/fill_between.py
"""
# Handle united data, such as dates
self._process_unit_info(xdata=x, ydata=y1, kwargs=kwargs)
Modified: trunk/matplotlib/lib/matplotlib/legend.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/legend.py 2008-12-10 15:22:03 UTC (rev 6549)
+++ trunk/matplotlib/lib/matplotlib/legend.py 2008-12-10 16:39:01 UTC (rev 6550)
@@ -47,7 +47,7 @@
sequence of strings and loc can be a string or an integer
specifying the legend location
- The location codes are
+ The location codes are::
'best' : 0, (only implemented for axis legends)
'upper right' : 1,
Modified: trunk/matplotlib/lib/matplotlib/patches.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/patches.py 2008-12-10 15:22:03 UTC (rev 6549)
+++ trunk/matplotlib/lib/matplotlib/patches.py 2008-12-10 16:39:01 UTC (rev 6550)
@@ -1522,6 +1522,7 @@
the fancy box). *mutation_aspect* determines the aspect-ratio of
the mutation.
+ .. plot:: mpl_examples/pylab_examples/fancybox_demo2.py
"""
_style_list = {}
@@ -2574,6 +2575,8 @@
stroked. This is meant to be used to correct the location of the
head so that it does not overshoot the destination point, but not all
classes support it.
+
+ .. plot:: mpl_examples/pylab_examples/fancyarrow_demo.py
"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 15:22:06
|
Revision: 6549
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6549&view=rev
Author: jdh2358
Date: 2008-12-10 15:22:03 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
added 98.4 maint branch
Added Paths:
-----------
branches/v0_98_4_maint/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 15:02:17
|
Revision: 6548
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6548&view=rev
Author: jdh2358
Date: 2008-12-10 15:02:14 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
updated plot docstring
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py 2008-12-10 14:55:05 UTC (rev 6547)
+++ trunk/matplotlib/lib/matplotlib/axes.py 2008-12-10 15:02:14 UTC (rev 6548)
@@ -3171,46 +3171,55 @@
Return value is a list of lines that were added.
- The following line styles are supported::
+ The following format string characters are accepted to control
+ the line style or marker
- - # solid line
- -- # dashed line
- -. # dash-dot line
- : # dotted line
- . # points
- , # pixels
- o # circle symbols
- ^ # triangle up symbols
- v # triangle down symbols
- < # triangle left symbols
- > # triangle right symbols
- s # square symbols
- + # plus symbols
- * # star symbols
- x # cross symbols
- D # diamond symbols
- d # thin diamond symbols
- 1 # tripod down symbols
- 2 # tripod up symbols
- 3 # tripod left symbols
- 4 # tripod right symbols
- h # hexagon symbols
- H # rotated hexagon symbols
- p # pentagon symbols
- | # vertical line symbols
- _ # horizontal line symbols
- steps # use gnuplot style 'steps' # kwarg only
+ ================ ===============================
+ character description
+ ================ ===============================
+ '-' solid line style
+ '--' dashed line style
+ '-.' dash-dot line style
+ ':' dotted line style
+ '.' point marker
+ ',' pixel marker
+ 'o' circle marker
+ 'v' triangle_down marker
+ '^' triangle_up marker
+ '<' triangle_left marker
+ '>' triangle_right marker
+ '1' tri_down marker
+ '2' tri_up marker
+ '3' tri_left marker
+ '4' tri_right marker
+ 's' square marker
+ 'p' pentagon marker
+ '*' star marker
+ 'h' hexagon1 marker
+ 'H' hexagon2 marker
+ '+' plus marker
+ 'x' x marker
+ 'D' diamond marker
+ 'd' thin_diamond marker
+ '|' vline marker
+ '_' hline marker
+ ================ ===============================
+
The following color abbreviations are supported::
- b # blue
- g # green
- r # red
- c # cyan
- m # magenta
- y # yellow
- k # black
- w # white
+ ========== ========
+ character color
+ ========== ========
+ 'b' blue
+ 'g' green
+ 'r' red
+ 'c' cyan
+ 'm' magenta
+ 'y' yellow
+ 'k' black
+ 'w' white
+ ========== ========
In addition, you can specify colors in many weird and
wonderful ways, including full names (``'green'``), hex
@@ -3239,6 +3248,15 @@
Neither line will be antialiased.
+ You do not need to use format strings, which are just
+ abbreviations. All of the line properties can be controlled
+ by keyword arguments. For example, you can set the color,
+ marker, linestyle, and markercolor with::
+
+ plot(x, y, color='green', linestyle='dashed', marker='o',
+ markerfacecolor='blue', markersize=12). See
+ :class:`~matplotlib.lines.Line2D` for details.
+
The kwargs are :class:`~matplotlib.lines.Line2D` properties:
%(Line2D)s
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 14:55:09
|
Revision: 6547
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6547&view=rev
Author: jdh2358
Date: 2008-12-10 14:55:05 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
updated linestyle and markerstyle doc strings
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/lines.py
Modified: trunk/matplotlib/lib/matplotlib/lines.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/lines.py 2008-12-10 14:39:44 UTC (rev 6546)
+++ trunk/matplotlib/lib/matplotlib/lines.py 2008-12-10 14:55:05 UTC (rev 6547)
@@ -74,6 +74,14 @@
return np.concatenate((points,lines))
class Line2D(Artist):
+ """
+ A line - the line can have both a solid linestyle connecting all
+ the vertices, and a marker at each vertex. Additionally, the
+ drawing of the solid line is influenced by the drawstyle, eg one
+ can create "stepped" lines in various styles.
+
+
+ """
lineStyles = _lineStyles = { # hidden names deprecated
'-' : '_draw_solid',
'--' : '_draw_dashed',
@@ -178,6 +186,11 @@
The kwargs are :class:`~matplotlib.lines.Line2D` properties:
%(Line2D)s
+
+ See :meth:`set_linestyle` for a decription of the line styles,
+ :meth:`set_marker` for a description of the markers, and
+ :meth:`set_drawstyle` for a description of the draw styles.
+
"""
Artist.__init__(self)
@@ -589,11 +602,27 @@
def set_linestyle(self, linestyle):
"""
- Set the linestyle of the line
+ Set the linestyle of the line (also accepts drawstyles)
+
+ ================ =================
+ linestyle description
+ ================ =================
+ '-' solid
+ '--' dashed
+ '-.' dash_dot
+ ':' dotted
+ 'None' draw nothing
+ ' ' draw nothing
+ '' draw nothing
+ ================ =================
+
'steps' is equivalent to 'steps-pre' and is maintained for
backward-compatibility.
+ .. seealso::
+ :meth:`set_drawstyle`
+
ACCEPTS: [ '-' | '--' | '-.' | ':' | 'None' | ' ' | '' ] and
any drawstyle in combination with a linestyle, e.g. 'steps--'.
"""
@@ -622,6 +651,44 @@
"""
Set the line marker
+ ========= ==========================
+ marker description
+ ========= ==========================
+ '.' point
+ ',' pixel
+ 'o' circle
+ 'v' triangle_down
+ '^' triangle_up
+ '<' triangle_left
+ '>' triangle_right
+ '1' tri_down
+ '2' tri_up
+ '3' tri_left
+ '4' tri_right
+ 's' square
+ 'p' pentagon
+ '*' star
+ 'h' hexagon1
+ 'H' hexagon2
+ '+' plus
+ 'x' x
+ 'D' diamond
+ 'd' thin_diamond
+ '|' vline
+ '_' hline
+ TICKLEFT tickleft
+ TICKRIGHT tickright
+ TICKUP tickup
+ TICKDOWN tickdown
+ CARETLEFT caretleft
+ CARETRIGHT caretright
+ CARETUP caretup
+ CARETDOWN caretdown
+ 'None' nothing
+ ' ' nothing
+ '' nothing
+ ========= ==========================
+
ACCEPTS: [ '+' | '*' | ',' | '.' | '1' | '2' | '3' | '4'
| '<' | '>' | 'D' | 'H' | '^' | '_' | 'd'
| 'h' | 'o' | 'p' | 's' | 'v' | 'x' | '|'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 14:39:53
|
Revision: 6546
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6546&view=rev
Author: jdh2358
Date: 2008-12-10 14:39:44 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
updated the docs to point to the nose tests
Modified Paths:
--------------
trunk/matplotlib/doc/devel/coding_guide.rst
trunk/matplotlib/doc/devel/release_guide.rst
Modified: trunk/matplotlib/doc/devel/coding_guide.rst
===================================================================
--- trunk/matplotlib/doc/devel/coding_guide.rst 2008-12-10 14:35:49 UTC (rev 6545)
+++ trunk/matplotlib/doc/devel/coding_guide.rst 2008-12-10 14:39:44 UTC (rev 6546)
@@ -46,6 +46,8 @@
* Can you pass :file:`examples/tests/backend_driver.py`? This is our
poor man's unit test.
+* Can you add a test to file:`unit/nose_tests.py` to test your changes?
+
* If you have altered extension code, do you pass
:file:`unit/memleak_hawaii.py`?
Modified: trunk/matplotlib/doc/devel/release_guide.rst
===================================================================
--- trunk/matplotlib/doc/devel/release_guide.rst 2008-12-10 14:35:49 UTC (rev 6545)
+++ trunk/matplotlib/doc/devel/release_guide.rst 2008-12-10 14:39:44 UTC (rev 6546)
@@ -20,6 +20,8 @@
* Run :file:`unit/memleak_hawaii3.py` and make sure there are no
memory leaks
+* Run :file:`unit/nose_tests.py` and make sure all the unit tests are passing
+
* try some GUI examples, eg :file:`simple_plot.py` with GTKAgg, TkAgg, etc...
* remove font cache and tex cache from :file:`.matplotlib` and test
@@ -90,4 +92,4 @@
Announce the release on matplotlib-announce, matplotlib-users and
matplotlib-devel. Include a summary of highlights from the CHANGELOG
-and/or post the whole CHANGELOG since the last release.
\ No newline at end of file
+and/or post the whole CHANGELOG since the last release.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 14:35:53
|
Revision: 6545
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6545&view=rev
Author: jdh2358
Date: 2008-12-10 14:35:49 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
added nose tests
Modified Paths:
--------------
trunk/matplotlib/examples/tests/backend_driver.py
Added Paths:
-----------
trunk/matplotlib/unit/nose_tests.py
Modified: trunk/matplotlib/examples/tests/backend_driver.py
===================================================================
--- trunk/matplotlib/examples/tests/backend_driver.py 2008-12-10 12:56:09 UTC (rev 6544)
+++ trunk/matplotlib/examples/tests/backend_driver.py 2008-12-10 14:35:49 UTC (rev 6545)
@@ -167,7 +167,7 @@
'scatter_masked.py',
'scatter_profile.py',
'scatter_star_poly.py',
- 'set_and_get.py',
+ #'set_and_get.py',
'shared_axis_across_figures.py',
'shared_axis_demo.py',
'simple_plot.py',
Added: trunk/matplotlib/unit/nose_tests.py
===================================================================
--- trunk/matplotlib/unit/nose_tests.py (rev 0)
+++ trunk/matplotlib/unit/nose_tests.py 2008-12-10 14:35:49 UTC (rev 6545)
@@ -0,0 +1,17 @@
+import nose, nose.tools as nt
+import numpy.testing as nptest
+
+import matplotlib
+matplotlib.use('Agg')
+import numpy as np
+import matplotlib.pyplot as plt
+import matplotlib.axes as maxes
+
+def test_create_subplot_object():
+ fig = plt.figure()
+ ax = maxes.Subplot(fig, 1, 1, 1)
+ fig.add_subplot(ax)
+
+if __name__=='__main__':
+ nose.runmodule(argv=['-s','--with-doctest'], exit=False)
+ pass
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <js...@us...> - 2008-12-10 12:56:10
|
Revision: 6544
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6544&view=rev
Author: jswhit
Date: 2008-12-10 12:56:09 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
fix URL
Modified Paths:
--------------
trunk/toolkits/basemap/examples/fcstmaps.py
Modified: trunk/toolkits/basemap/examples/fcstmaps.py
===================================================================
--- trunk/toolkits/basemap/examples/fcstmaps.py 2008-12-10 12:34:52 UTC (rev 6543)
+++ trunk/toolkits/basemap/examples/fcstmaps.py 2008-12-10 12:56:09 UTC (rev 6544)
@@ -15,8 +15,7 @@
YYYYMMDD = datetime.datetime.today().strftime('%Y%m%d')
# set OpenDAP server URL.
-#URLbase="http://nomad3.ncep.noaa.gov:9090/dods/mrf/mrf"
-URLbase="http://nomad5.ncep.noaa.gov:9090/dods/nomad1-raid2/mrf/mrf"
+URLbase="http://nomad3.ncep.noaa.gov:9090/dods/mrf/mrf"
URL=URLbase+YYYYMMDD+'/mrf'+YYYYMMDD
print URL+'\n'
try:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <js...@us...> - 2008-12-10 12:34:55
|
Revision: 6543
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6543&view=rev
Author: jswhit
Date: 2008-12-10 12:34:52 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
downsample bluemarble image for speed
Modified Paths:
--------------
trunk/toolkits/basemap/examples/wiki_example.py
Modified: trunk/toolkits/basemap/examples/wiki_example.py
===================================================================
--- trunk/toolkits/basemap/examples/wiki_example.py 2008-12-10 12:33:52 UTC (rev 6542)
+++ trunk/toolkits/basemap/examples/wiki_example.py 2008-12-10 12:34:52 UTC (rev 6543)
@@ -50,5 +50,5 @@
# contour data over the map.
cs = map.contour(x,y,wave+mean,15,linewidths=1.5)
# draw blue marble image in background.
-map.bluemarble()
+map.bluemarble(scale=0.5)
plt.show()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <js...@us...> - 2008-12-10 12:33:55
|
Revision: 6542
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6542&view=rev
Author: jswhit
Date: 2008-12-10 12:33:52 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
downsample bluemarble image for speed
Modified Paths:
--------------
trunk/toolkits/basemap/examples/cubed_sphere.py
Modified: trunk/toolkits/basemap/examples/cubed_sphere.py
===================================================================
--- trunk/toolkits/basemap/examples/cubed_sphere.py 2008-12-10 12:17:52 UTC (rev 6541)
+++ trunk/toolkits/basemap/examples/cubed_sphere.py 2008-12-10 12:33:52 UTC (rev 6542)
@@ -21,7 +21,7 @@
m = Basemap(width=width,height=height,resolution=None,\
projection='gnom',lon_0=lon_0,lat_0=lat_0,\
rsphere=rsphere)
- m.bluemarble()
+ m.bluemarble(scale=0.5)
m.drawparallels(np.arange(-90,91,10),color='0.5')
m.drawmeridians(np.arange(5,365,10),color='0.5')
#m.drawlsmask(ocean_color='aqua',land_color='coral')
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <js...@us...> - 2008-12-10 12:17:55
|
Revision: 6541
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6541&view=rev
Author: jswhit
Date: 2008-12-10 12:17:52 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
prepare for 0.99.2 release
Modified Paths:
--------------
trunk/toolkits/basemap/Changelog
Modified: trunk/toolkits/basemap/Changelog
===================================================================
--- trunk/toolkits/basemap/Changelog 2008-12-10 04:11:56 UTC (rev 6540)
+++ trunk/toolkits/basemap/Changelog 2008-12-10 12:17:52 UTC (rev 6541)
@@ -1,4 +1,4 @@
-version 0.99.2 (not yet released)
+version 0.99.2 (svn revision 6541)
* fix drawlsmask method so that it works for cylindrical
projections with limits outside (-180,180).
* added 'scale' keyword to bluemarble and warpimage methods to
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 04:12:00
|
Revision: 6540
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6540&view=rev
Author: jdh2358
Date: 2008-12-10 04:11:56 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
updated genrst
Modified Paths:
--------------
trunk/matplotlib/doc/_templates/gallery.html
trunk/matplotlib/doc/matplotlibrc
Modified: trunk/matplotlib/doc/_templates/gallery.html
===================================================================
--- trunk/matplotlib/doc/_templates/gallery.html 2008-12-10 04:05:18 UTC (rev 6539)
+++ trunk/matplotlib/doc/_templates/gallery.html 2008-12-10 04:11:56 UTC (rev 6540)
@@ -433,6 +433,8 @@
<a href="examples/pylab_examples/psd_demo2.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/psd_demo2.png" border="0" alt="psd_demo2"/></a>
+<a href="examples/pylab_examples/psd_demo3.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/psd_demo3.png" border="0" alt="psd_demo3"/></a>
+
<a href="examples/pylab_examples/pythonic_matplotlib.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/pythonic_matplotlib.png" border="0" alt="pythonic_matplotlib"/></a>
<a href="examples/pylab_examples/quadmesh_demo.html"><img src="_static/plot_directive/mpl_examples/pylab_examples/thumbnails/quadmesh_demo.png" border="0" alt="quadmesh_demo"/></a>
Modified: trunk/matplotlib/doc/matplotlibrc
===================================================================
--- trunk/matplotlib/doc/matplotlibrc 2008-12-10 04:05:18 UTC (rev 6539)
+++ trunk/matplotlib/doc/matplotlibrc 2008-12-10 04:11:56 UTC (rev 6540)
@@ -295,7 +295,7 @@
#svg.embed_chars : True # embed character outlines in the SVG file
# docstring params
-docstring.hardcopy = True # set this when you want to generate hardcopy docstring
+docstring.hardcopy : True # set this when you want to generate hardcopy docstring
# Set the verbose flags. This controls how much information
# matplotlib gives you at runtime and where it goes. The verbosity
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 04:05:22
|
Revision: 6539
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6539&view=rev
Author: jdh2358
Date: 2008-12-10 04:05:18 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
added whats new doc
Modified Paths:
--------------
trunk/matplotlib/doc/users/whats_new.rst
Modified: trunk/matplotlib/doc/users/whats_new.rst
===================================================================
--- trunk/matplotlib/doc/users/whats_new.rst 2008-12-10 03:57:09 UTC (rev 6538)
+++ trunk/matplotlib/doc/users/whats_new.rst 2008-12-10 04:05:18 UTC (rev 6539)
@@ -6,7 +6,7 @@
.. _whats-new-0-98-4:
-What new in matplotlib 0.98.4
+What new in 0.98.4
==============================
It's been four months since the last matplotlib release, and there are
@@ -40,7 +40,7 @@
Ryan May did a lot of work to rationalize the amplitude scaling of
:func:`~matplotlib.pyplot.psd` and friends. See
:ref:`pylab_examples-psd_demo2`. and :ref:`pylab_examples-psd_demo3`.
-The changes should increase `MATLAB™ <http://www.mathworks.com>`
+The changes should increase `MATLAB™ <http://www.mathworks.com>`_
compatabililty and increase scaling options.
.. _fill-between:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jd...@us...> - 2008-12-10 03:57:13
|
Revision: 6538
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6538&view=rev
Author: jdh2358
Date: 2008-12-10 03:57:09 +0000 (Wed, 10 Dec 2008)
Log Message:
-----------
added whats new doc
Modified Paths:
--------------
trunk/matplotlib/doc/_templates/indexsidebar.html
trunk/matplotlib/doc/users/index.rst
Added Paths:
-----------
trunk/matplotlib/doc/users/whats_new.rst
Modified: trunk/matplotlib/doc/_templates/indexsidebar.html
===================================================================
--- trunk/matplotlib/doc/_templates/indexsidebar.html 2008-12-10 03:01:14 UTC (rev 6537)
+++ trunk/matplotlib/doc/_templates/indexsidebar.html 2008-12-10 03:57:09 UTC (rev 6538)
@@ -1,10 +1,11 @@
<h3>Download</h3>
<p>Current version: <b>{{ version }}</b></p>
-<p>Download matplotlib from the
-sourceforge <a href="http://sourceforge.net/projects/matplotlib">project</a>
-page (but first take a look at the <a href="{{
-pathto('users/installing') }}">installing</a> page).</p>
+<p>Download matplotlib from the sourceforge <a
+href="http://sourceforge.net/projects/matplotlib">project</a> page
+(but first take a look at the <a href="{{ pathto('users/installing')
+}}">installing</a> page). Here's a summary of <a href="{{
+pathto('users/whats_new') }}">what's new</a>. </p>
<p>There are several matplotlib addon <a href="{{
pathto('users/toolkits') }}">toolkits</a>, including the projection
Modified: trunk/matplotlib/doc/users/index.rst
===================================================================
--- trunk/matplotlib/doc/users/index.rst 2008-12-10 03:01:14 UTC (rev 6537)
+++ trunk/matplotlib/doc/users/index.rst 2008-12-10 03:57:09 UTC (rev 6538)
@@ -24,6 +24,7 @@
plotting.rst
toolkits.rst
screenshots.rst
+ whats_new.rst
license.rst
credits.rst
Added: trunk/matplotlib/doc/users/whats_new.rst
===================================================================
--- trunk/matplotlib/doc/users/whats_new.rst (rev 0)
+++ trunk/matplotlib/doc/users/whats_new.rst 2008-12-10 03:57:09 UTC (rev 6538)
@@ -0,0 +1,248 @@
+.. _whats-new:
+
+***************************
+What's new in matplotlib
+***************************
+
+.. _whats-new-0-98-4:
+
+What new in matplotlib 0.98.4
+==============================
+
+It's been four months since the last matplotlib release, and there are
+a lot of new features and bug-fixes
+
+.. _legend-refactor:
+
+Legend enhancements
+--------------------
+
+Jae-Joon has rewritten the legend class, and added support for
+multiple columns and rows, as well as fancy box drawing. See
+:ref:`pylab_examples-legend_demo3`.
+
+
+.. _fancy-annotations:
+
+Fancy annotations and arrows
+-----------------------------
+
+Jae-Joon has added lot's of support to annotations for drawing fancy
+boxes and connectors in annotations. See
+:ref:`pylab_examples-annotation_demo2` and
+:ref:`pylab_examples-fancyarrow_demo`.
+
+.. _psd-amplitude:
+
+psd amplitude scaling
+-------------------------
+
+Ryan May did a lot of work to rationalize the amplitude scaling of
+:func:`~matplotlib.pyplot.psd` and friends. See
+:ref:`pylab_examples-psd_demo2`. and :ref:`pylab_examples-psd_demo3`.
+The changes should increase `MATLAB™ <http://www.mathworks.com>`
+compatabililty and increase scaling options.
+
+.. _fill-between:
+
+Fill between
+------------------
+
+Added a :func:`~matplotlib.pyplot.fill_between` function to make it
+easier to do shaded region plots in the presence of masked data. See
+:ref:`pylab_examples-fill_between`.
+
+Lots more
+-----------
+
+Here are the 0.98.4 notes from the CHANGELOG::
+
+ Added mdehoon's native macosx backend from sf patch 2179017 - JDH
+
+ Removed the prints in the set_*style commands. Return the list of
+ pprinted strings instead - JDH
+
+ Some of the changes Michael made to improve the output of the
+ property tables in the rest docs broke of made difficult to use
+ some of the interactive doc helpers, eg setp and getp. Having all
+ the rest markup in the ipython shell also confused the docstrings.
+ I added a new rc param docstring.harcopy, to format the docstrings
+ differently for hardcopy and other use. Ther ArtistInspector
+ could use a little refactoring now since there is duplication of
+ effort between the rest out put and the non-rest output - JDH
+
+ Updated spectral methods (psd, csd, etc.) to scale one-sided
+ densities by a factor of 2 and, optionally, scale all densities by
+ the sampling frequency. This gives better MatLab
+ compatibility. -RM
+
+ Fixed alignment of ticks in colorbars. -MGD
+
+ drop the deprecated "new" keyword of np.histogram() for numpy 1.2
+ or later. -JJL
+
+ Fixed a bug in svg backend that new_figure_manager() ignores
+ keywords arguments such as figsize, etc. -JJL
+
+ Fixed a bug that the handlelength of the new legend class set too
+ short when numpoints=1 -JJL
+
+ Added support for data with units (e.g. dates) to
+ Axes.fill_between. -RM
+
+ Added fancybox keyword to legend. Also applied some changes for
+ better look, including baseline adjustment of the multiline texts
+ so that it is center aligned. -JJL
+
+ The transmuter classes in the patches.py are reorganized as
+ subclasses of the Style classes. A few more box and arrow styles
+ are added. -JJL
+
+ Fixed a bug in the new legend class that didn't allowed a tuple of
+ coordinate vlaues as loc. -JJL
+
+ Improve checks for external dependencies, using subprocess
+ (instead of deprecated popen*) and distutils (for version
+ checking) - DSD
+
+ Reimplementaion of the legend which supports baseline alignement,
+ multi-column, and expand mode. - JJL
+
+ Fixed histogram autoscaling bug when bins or range are given
+ explicitly (fixes Debian bug 503148) - MM
+
+ Added rcParam axes.unicode_minus which allows plain hypen for
+ minus when False - JDH
+
+ Added scatterpoints support in Legend. patch by Erik Tollerud -
+ JJL
+
+ Fix crash in log ticking. - MGD
+
+ Added static helper method BrokenHBarCollection.span_where and
+ Axes/pyplot method fill_between. See
+ examples/pylab/fill_between.py - JDH
+
+ Add x_isdata and y_isdata attributes to Artist instances, and use
+ them to determine whether either or both coordinates are used when
+ updating dataLim. This is used to fix autoscaling problems that
+ had been triggered by axhline, axhspan, axvline, axvspan. - EF
+
+ Update the psd(), csd(), cohere(), and specgram() methods of Axes
+ and the csd() cohere(), and specgram() functions in mlab to be in
+ sync with the changes to psd(). In fact, under the hood, these
+ all call the same core to do computations. - RM
+
+ Add 'pad_to' and 'sides' parameters to mlab.psd() to allow
+ controlling of zero padding and returning of negative frequency
+ components, respecitively. These are added in a way that does not
+ change the API. - RM
+
+ Fix handling of c kwarg by scatter; generalize is_string_like to
+ accept numpy and numpy.ma string array scalars. - RM and EF
+
+ Fix a possible EINTR problem in dviread, which might help when
+ saving pdf files from the qt backend. - JKS
+
+ Fix bug with zoom to rectangle and twin axes - MGD
+
+ Added Jae Joon's fancy arrow, box and annotation enhancements --
+ see examples/pylab_examples/annotation_demo2.py
+
+ Autoscaling is now supported with shared axes - EF
+
+ Fixed exception in dviread that happened with Minion - JKS
+
+ set_xlim, ylim now return a copy of the viewlim array to avoid
+ modify inplace surprises
+
+ Added image thumbnail generating function
+ matplotlib.image.thumbnail. See examples/misc/image_thumbnail.py
+ - JDH
+
+ Applied scatleg patch based on ideas and work by Erik Tollerud and
+ Jae-Joon Lee. - MM
+
+ Fixed bug in pdf backend: if you pass a file object for output
+ instead of a filename, e.g. in a wep app, we now flush the object
+ at the end. - JKS
+
+ Add path simplification support to paths with gaps. - EF
+
+ Fix problem with AFM files that don't specify the font's full name
+ or family name. - JKS
+
+ Added 'scilimits' kwarg to Axes.ticklabel_format() method, for
+ easy access to the set_powerlimits method of the major
+ ScalarFormatter. - EF
+
+ Experimental new kwarg borderpad to replace pad in legend, based
+ on suggestion by Jae-Joon Lee. - EF
+
+ Allow spy to ignore zero values in sparse arrays, based on patch
+ by Tony Yu. Also fixed plot to handle empty data arrays, and
+ fixed handling of markers in figlegend. - EF
+
+ Introduce drawstyles for lines. Transparently split linestyles
+ like 'steps--' into drawstyle 'steps' and linestyle '--'. Legends
+ always use drawstyle 'default'. - MM
+
+ Fixed quiver and quiverkey bugs (failure to scale properly when
+ resizing) and added additional methods for determining the arrow
+ angles - EF
+
+ Fix polar interpolation to handle negative values of theta - MGD
+
+ Reorganized cbook and mlab methods related to numerical
+ calculations that have little to do with the goals of those two
+ modules into a separate module numerical_methods.py Also, added
+ ability to select points and stop point selection with keyboard in
+ ginput and manual contour labeling code. Finally, fixed contour
+ labeling bug. - DMK
+
+ Fix backtick in Postscript output. - MGD
+
+ [ 2089958 ] Path simplification for vector output backends
+ Leverage the simplification code exposed through path_to_polygons
+ to simplify certain well-behaved paths in the vector backends
+ (PDF, PS and SVG). "path.simplify" must be set to True in
+ matplotlibrc for this to work. - MGD
+
+ Add "filled" kwarg to Path.intersects_path and
+ Path.intersects_bbox. - MGD
+
+ Changed full arrows slightly to avoid an xpdf rendering problem
+ reported by Friedrich Hagedorn. - JKS
+
+ Fix conversion of quadratic to cubic Bezier curves in PDF and PS
+ backends. Patch by Jae-Joon Lee. - JKS
+
+ Added 5-point star marker to plot command q- EF
+
+ Fix hatching in PS backend - MGD
+
+ Fix log with base 2 - MGD
+
+ Added support for bilinear interpolation in
+ NonUniformImage; patch by Gregory Lielens. - EF
+
+ Added support for multiple histograms with data of
+ different length - MM
+
+ Fix step plots with log scale - MGD
+
+ Fix masked arrays with markers in non-Agg backends - MGD
+
+ Fix clip_on kwarg so it actually works correctly - MGD
+
+ Fix locale problems in SVG backend - MGD
+
+ fix quiver so masked values are not plotted - JSW
+
+ improve interactive pan/zoom in qt4 backend on windows - DSD
+
+ Fix more bugs in NaN/inf handling. In particular, path
+ simplification (which does not handle NaNs or infs) will be turned
+ off automatically when infs or NaNs are present. Also masked
+ arrays are now converted to arrays with NaNs for consistent
+ handling of masks and NaNs - MGD and EF
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|