SF.net SVN: matplotlib:[6602] trunk/matplotlib

2008-12-14 Thread jdh2358
Revision: 6602
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6602&view=rev
Author:   jdh2358
Date: 2008-12-14 16:43:20 + (Sun, 14 Dec 2008)

Log Message:
---
added release dir

Modified Paths:
--
trunk/matplotlib/doc/_templates/gallery.html
trunk/matplotlib/doc/devel/release_guide.rst
trunk/matplotlib/doc/users/mathtext.rst
trunk/matplotlib/examples/event_handling/path_editor.py
trunk/matplotlib/examples/pylab_examples/loadrec.py
trunk/matplotlib/examples/pylab_examples/mathtext_examples.py

Added Paths:
---
trunk/matplotlib/release/
trunk/matplotlib/release/osx/
trunk/matplotlib/release/osx/Makefile
trunk/matplotlib/release/osx/README.txt
trunk/matplotlib/release/osx/data/
trunk/matplotlib/release/osx/data/bdist.patch
trunk/matplotlib/release/osx/data/setup.cfg
trunk/matplotlib/release/osx/matplotlib-0.98.5.tar.gz

Modified: trunk/matplotlib/doc/_templates/gallery.html
===
--- trunk/matplotlib/doc/_templates/gallery.html2008-12-13 19:01:00 UTC 
(rev 6601)
+++ trunk/matplotlib/doc/_templates/gallery.html2008-12-14 16:43:20 UTC 
(rev 6602)
@@ -169,8 +169,6 @@
 
 
 
-
-
 
 
 
@@ -477,8 +475,6 @@
 
 
 
-
-
 
 
 
@@ -491,8 +487,6 @@
 
 
 
-
-
 
 
 
@@ -509,8 +503,6 @@
 
 
 
-
-
 
 
 

Modified: trunk/matplotlib/doc/devel/release_guide.rst
===
--- trunk/matplotlib/doc/devel/release_guide.rst2008-12-13 19:01:00 UTC 
(rev 6601)
+++ trunk/matplotlib/doc/devel/release_guide.rst2008-12-14 16:43:20 UTC 
(rev 6602)
@@ -42,7 +42,12 @@
 * unpack the sdist and make sure you can build from that directory
 
 * Use :file:`setup.cfg` to set the default backends.  For windows and
-  OSX, the default backend should be TkAgg.
+  OSX, the default backend should be TkAgg.  You should also turn on
+  or off any platform specific build options you need.  Importantly,
+  you also need to make sure that you delete the :file:`build` dir
+  after any changes to file:`setup.cfg` before rebuilding since cruft
+  in the :file:`build` dir can get carried along.  I will add this to
+  the devel release notes,
 
 * on windows, unix2dos the rc file
 

Modified: trunk/matplotlib/doc/users/mathtext.rst
===
--- trunk/matplotlib/doc/users/mathtext.rst 2008-12-13 19:01:00 UTC (rev 
6601)
+++ trunk/matplotlib/doc/users/mathtext.rst 2008-12-14 16:43:20 UTC (rev 
6602)
@@ -299,5 +299,8 @@
 .. plot:: pyplots/pyplot_mathtext.py
:include-source:
 
+.. plot:: mpl_examples/pylab_examples/mathtext_examples.py
 
 
+
+

Modified: trunk/matplotlib/examples/event_handling/path_editor.py
===
--- trunk/matplotlib/examples/event_handling/path_editor.py 2008-12-13 
19:01:00 UTC (rev 6601)
+++ trunk/matplotlib/examples/event_handling/path_editor.py 2008-12-14 
16:43:20 UTC (rev 6602)
@@ -1,5 +1,3 @@
-import matplotlib
-matplotlib.use('TkAgg')
 import numpy as np
 import matplotlib.path as mpath
 import matplotlib.patches as mpatches

Modified: trunk/matplotlib/examples/pylab_examples/loadrec.py
===
--- trunk/matplotlib/examples/pylab_examples/loadrec.py 2008-12-13 19:01:00 UTC 
(rev 6601)
+++ trunk/matplotlib/examples/pylab_examples/loadrec.py 2008-12-14 16:43:20 UTC 
(rev 6602)
@@ -11,6 +11,6 @@
 fig.autofmt_xdate()
 
 # if you have pyExcelerator installed, you can output excel
-#import mpl_toolkits.exceltools as exceltools
-#exceltools.rec2excel(a, 'test.xls', colnum=4)
+import mpl_toolkits.exceltools as exceltools
+exceltools.rec2excel(a, 'test.xls')
 show()

Modified: trunk/matplotlib/examples/pylab_examples/mathtext_examples.py
===
--- trunk/matplotlib/examples/pylab_examples/mathtext_examples.py   
2008-12-13 19:01:00 UTC (rev 6601)
+++ trunk/matplotlib/examples/pylab_examples/mathtext_examples.py   
2008-12-14 16:43:20 UTC (rev 6602)
@@ -49,11 +49,11 @@
 r'$\widehat{abc}\widetilde{def}$',
 r'$\Gamma \Delta \Theta \Lambda \Xi \Pi \Sigma \Upsilon \Phi \Psi \Omega$',
 r'$\alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \lambda \mu 
\nu \xi \pi \kappa \rho \sigma \tau \upsilon \phi \chi \psi$',
-ur'Generic symbol: $\u23ce$',
+#ur'Generic symbol: $\u23ce$',
]
 
-if sys.maxunicode > 0x:
-stests.append(ur'$\mathrm{\ue0f2 \U0001D538}$')
+#if sys.maxunicode > 0x:
+#stests.append(ur'$\mathrm{\ue0f2 \U0001D538}$')
 
 
 from pylab import *

Added: trunk/matplotlib/release/osx/Makefile
===
--- trunk/matplotlib/release/osx/Makefile   (rev 0)
+++ trunk/matplotlib/release/osx/Makefile  

SF.net SVN: matplotlib:[6603] trunk/matplotlib/release/osx/matplotlib-0.98. 5.tar.gz

2008-12-14 Thread jdh2358
Revision: 6603
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6603&view=rev
Author:   jdh2358
Date: 2008-12-14 16:46:37 + (Sun, 14 Dec 2008)

Log Message:
---
removed release tarball

Removed Paths:
-
trunk/matplotlib/release/osx/matplotlib-0.98.5.tar.gz

Deleted: trunk/matplotlib/release/osx/matplotlib-0.98.5.tar.gz
===
(Binary files differ)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins


SF.net SVN: matplotlib:[6604] trunk/matplotlib/release/osx/README.txt

2008-12-14 Thread jdh2358
Revision: 6604
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6604&view=rev
Author:   jdh2358
Date: 2008-12-14 17:16:38 + (Sun, 14 Dec 2008)

Log Message:
---
few changes to osx installer

Modified Paths:
--
trunk/matplotlib/release/osx/README.txt

Modified: trunk/matplotlib/release/osx/README.txt
===
--- trunk/matplotlib/release/osx/README.txt 2008-12-14 16:46:37 UTC (rev 
6603)
+++ trunk/matplotlib/release/osx/README.txt 2008-12-14 17:16:38 UTC (rev 
6604)
@@ -21,6 +21,13 @@
 How to build
 --
 
+* You need to make sure to unset PKG_CONFIG_PATH to make sure the
+  static linking below is respected.  Otherwise the mpl build script
+  will dynamically link using the libs from pkgconfig if you have this
+  configured on your box::
+
+  unset PKG_CONFIG_PATH
+
 * OPTIONAL: edit :file:`Makefile` so that the *VERSION variables point
   to the latest zlib, png, freetype
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins


SF.net SVN: matplotlib:[6605] trunk/matplotlib/doc

2008-12-14 Thread jdh2358
Revision: 6605
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6605&view=rev
Author:   jdh2358
Date: 2008-12-15 03:22:17 + (Mon, 15 Dec 2008)

Log Message:
---
fixed a few doc bugs

Modified Paths:
--
trunk/matplotlib/doc/_templates/gallery.html
trunk/matplotlib/doc/_templates/indexsidebar.html
trunk/matplotlib/doc/users/intro.rst

Modified: trunk/matplotlib/doc/_templates/gallery.html
===
--- trunk/matplotlib/doc/_templates/gallery.html2008-12-14 17:16:38 UTC 
(rev 6604)
+++ trunk/matplotlib/doc/_templates/gallery.html2008-12-15 03:22:17 UTC 
(rev 6605)
@@ -169,6 +169,8 @@
 
 
 
+
+
 
 
 
@@ -475,6 +477,8 @@
 
 
 
+
+
 
 
 
@@ -487,6 +491,8 @@
 
 
 
+
+
 
 
 
@@ -503,6 +509,8 @@
 
 
 
+
+
 
 
 

Modified: trunk/matplotlib/doc/_templates/indexsidebar.html
===
--- trunk/matplotlib/doc/_templates/indexsidebar.html   2008-12-14 17:16:38 UTC 
(rev 6604)
+++ trunk/matplotlib/doc/_templates/indexsidebar.html   2008-12-15 03:22:17 UTC 
(rev 6605)
@@ -1,11 +1,11 @@
 Download
 Current version: {{ version }}
 
-Download matplotlib from the sourceforge http://sourceforge.net/projects/matplotlib";>project page
-(but first take a look at the installing page).  Here's a summary of what's new. 
+Download matplotlib from the
+sourceforge http://sourceforge.net/projects/matplotlib";>project
+page (but first take a look at the installing page).  Here's a summary
+of what's new. 
 
 There are several matplotlib addon toolkits, including the projection

Modified: trunk/matplotlib/doc/users/intro.rst
===
--- trunk/matplotlib/doc/users/intro.rst2008-12-14 17:16:38 UTC (rev 
6604)
+++ trunk/matplotlib/doc/users/intro.rst2008-12-15 03:22:17 UTC (rev 
6605)
@@ -2,11 +2,11 @@
 
 
 matplotlib is a library for making 2D plots of arrays in `Python
-`.  Although it has its origins in emulating
-the `MATLAB™ ` graphics commands, it is
+`_.  Although it has its origins in emulating
+the `MATLAB™ `_ graphics commands, it is
 independent of MATLAB, and can be used in a Pythonic, object oriented
 way.  Although matplotlib is written primarily in pure Python, it
-makes heavy use of `NumPy ` and other extension
+makes heavy use of `NumPy `_ and other extension
 code to provide good performance even for large arrays.
 
 matplotlib is designed with the philosophy that you should be able to
@@ -25,7 +25,7 @@
 programming language, and decided to start over in Python.  Python
 more than makes up for all of MATLAB's deficiencies as a programming
 language, but I was having difficulty finding a 2D plotting package
-(for 3D `VTK ` more than exceeds all of my
+(for 3D `VTK `_ more than exceeds all of my
 needs).
 
 When I went searching for a Python plotting package, I had several
@@ -67,16 +67,16 @@
 devices, aka renderers, that transform the frontend representation to
 hardcopy or a display device (:ref:`what-is-a-backend`).  Example
 backends: PS creates `PostScript®
-` hardcopy, SVG
-creates `Scalable Vector Graphics `
+`_ hardcopy, SVG
+creates `Scalable Vector Graphics `_
 hardcopy, Agg creates PNG output using the high quality `Anti-Grain
-Geometry ` library that ships with
-matplotlib, GTK embeds matplotlib in a `Gtk+ `
+Geometry `_ library that ships with
+matplotlib, GTK embeds matplotlib in a `Gtk+ `_
 application, GTKAgg uses the Anti-Grain renderer to create a figure
 and embed it a Gtk+ application, and so on for `PDF
-`, `WxWidgets
-`, `Tkinter
-` etc.
+`_, `WxWidgets
+`_, `Tkinter
+`_ etc.
 
 matplotlib is used by many people in many different contexts.  Some
 people want to automatically generate PostScript files to send


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208

SF.net SVN: matplotlib:[6606] trunk/matplotlib/lib/matplotlib/colorbar.py

2008-12-14 Thread efiring
Revision: 6606
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6606&view=rev
Author:   efiring
Date: 2008-12-15 06:23:25 + (Mon, 15 Dec 2008)

Log Message:
---
Add orientation kwarg to docstring

Modified Paths:
--
trunk/matplotlib/lib/matplotlib/colorbar.py

Modified: trunk/matplotlib/lib/matplotlib/colorbar.py
===
--- trunk/matplotlib/lib/matplotlib/colorbar.py 2008-12-15 03:22:17 UTC (rev 
6605)
+++ trunk/matplotlib/lib/matplotlib/colorbar.py 2008-12-15 06:23:25 UTC (rev 
6606)
@@ -32,15 +32,16 @@
 
 make_axes_kw_doc = '''
 
-==   
-Property Description
-==   
-*fraction*   0.15; fraction of original axes to use for colorbar
-*pad*0.05 if vertical, 0.15 if horizontal; fraction
- of original axes between colorbar and new image axes
-*shrink* 1.0; fraction by which to shrink the colorbar
-*aspect* 20; ratio of long to short dimensions
-==   
+= 
+Property  Description
+= 
+*orientation* vertical or horizontal
+*fraction*0.15; fraction of original axes to use for colorbar
+*pad* 0.05 if vertical, 0.15 if horizontal; fraction
+  of original axes between colorbar and new image axes
+*shrink*  1.0; fraction by which to shrink the colorbar
+*aspect*  20; ratio of long to short dimensions
+= 
 
 '''
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins


SF.net SVN: matplotlib:[6607] trunk/matplotlib/lib/matplotlib/collections. py

2008-12-14 Thread efiring
Revision: 6607
  http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6607&view=rev
Author:   efiring
Date: 2008-12-15 06:26:18 + (Mon, 15 Dec 2008)

Log Message:
---
In collections, keep track of whether edges or faces are colormapped.
Thanks to Eric Bruning for finding the problem and outlining the solution.

Modified Paths:
--
trunk/matplotlib/lib/matplotlib/collections.py

Modified: trunk/matplotlib/lib/matplotlib/collections.py
===
--- trunk/matplotlib/lib/matplotlib/collections.py  2008-12-15 06:23:25 UTC 
(rev 6606)
+++ trunk/matplotlib/lib/matplotlib/collections.py  2008-12-15 06:26:18 UTC 
(rev 6607)
@@ -231,7 +231,7 @@
 def get_pickradius(self): return self.pickradius
 
 def set_urls(self, urls):
-   if urls is None:
+if urls is None:
 self._urls = [None,]
 else:
 self._urls = urls
@@ -365,11 +365,19 @@
 """
 Set the facecolor(s) of the collection.  *c* can be a
 matplotlib color arg (all patches have same color), or a
-sequence or rgba tuples; if it is a sequence the patches will
-cycle through the sequence
+sequence of rgba tuples; if it is a sequence the patches will
+cycle through the sequence.
 
+If *c* is 'none', the patch will not be filled.
+
 ACCEPTS: matplotlib color arg or sequence of rgba tuples
 """
+self._is_filled = True
+try:
+if c.lower() == 'none':
+self._is_filled = False
+except AttributeError:
+pass
 if c is None: c = mpl.rcParams['patch.facecolor']
 self._facecolors_original = c
 self._facecolors = _colors.colorConverter.to_rgba_array(c, self._alpha)
@@ -393,14 +401,21 @@
 """
 Set the edgecolor(s) of the collection. *c* can be a
 matplotlib color arg (all patches have same color), or a
-sequence or rgba tuples; if it is a sequence the patches will
+sequence of rgba tuples; if it is a sequence the patches will
 cycle through the sequence.
 
 If *c* is 'face', the edge color will always be the same as
-the face color.
+the face color.  If it is 'none', the patch boundary will not
+be drawn.
 
 ACCEPTS: matplotlib color arg or sequence of rgba tuples
 """
+self._is_stroked = True
+try:
+if c.lower() == 'none':
+self._is_stroked = False
+except AttributeError:
+pass
 if c == 'face':
 self._edgecolors = 'face'
 self._edgecolors_original = 'face'
@@ -409,6 +424,7 @@
 self._edgecolors_original = c
 self._edgecolors = _colors.colorConverter.to_rgba_array(c, 
self._alpha)
 
+
 def set_edgecolors(self, c):
 """alias for set_edgecolor"""
 return self.set_edgecolor(c)
@@ -452,9 +468,9 @@
 if self._A is None: return
 if self._A.ndim > 1:
 raise ValueError('Collections can only map rank 1 arrays')
-if len(self._facecolors):
+if self._is_filled:
 self._facecolors = self.to_rgba(self._A, self._alpha)
-else:
+elif self._is_stroked:
 self._edgecolors = self.to_rgba(self._A, self._alpha)
 
 def update_from(self, other):
@@ -887,6 +903,7 @@
 Collection.__init__(
 self,
 edgecolors=colors,
+facecolors='none',
 linewidths=linewidths,
 linestyles=linestyles,
 antialiaseds=antialiaseds,
@@ -897,7 +914,6 @@
 pickradius=pickradius,
 **kwargs)
 
-self.set_facecolors([])
 self.set_segments(segments)
 
 def get_paths(self):


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins