matplotlib 0.99.1rc1 available for testing

We are preparing a bugfix release of the 0.99 branch, and a release
candidate 0.99.1rc1 is available for testing.

  http://drop.io/xortel1#

Please post any problems you find on the bug tracker

  http://sourceforge.net/tracker/?group_id=80706&atid=560720

and any patches on the patches tracker.

  http://sourceforge.net/tracker/?group_id=80706&atid=560722

It will help if you also ping the mailing list since not all the
developers check the tracker as regularly as the lists.

The bugfixes from the svn commit log since 0.99.0 are included below:

···

------------------------------------------------------------------------
r7751 | jdh2358 | 2009-09-12 16:11:42 -0500 (Sat, 12 Sep 2009) | 1 line

tagging for 99.1 release candiate
------------------------------------------------------------------------
r7749 | efiring | 2009-09-11 16:14:15 -0500 (Fri, 11 Sep 2009) | 2 lines

Backported quiver bug fix from trunk

------------------------------------------------------------------------
r7745 | efiring | 2009-09-11 15:48:10 -0500 (Fri, 11 Sep 2009) | 2 lines

Fix bug in quiver angle kwarg, found when input angle array is not 1-D

------------------------------------------------------------------------
r7741 | jdh2358 | 2009-09-10 21:06:30 -0500 (Thu, 10 Sep 2009) | 1 line

minor tweaks to licensing devel doc
------------------------------------------------------------------------
r7740 | astraw | 2009-09-10 20:54:27 -0500 (Thu, 10 Sep 2009) | 2 lines

bugfix: bounds checking in hexbin with extent specified (SF#2856228)

------------------------------------------------------------------------
r7734 | leejjoon | 2009-09-10 18:01:28 -0500 (Thu, 10 Sep 2009) | 1 line

fix a bug in Line2D.draw method that produces invalid svg when the
line is invisible
------------------------------------------------------------------------
r7728 | mdboom | 2009-09-09 14:55:52 -0500 (Wed, 09 Sep 2009) | 2 lines

Fix some documentation warnings.

------------------------------------------------------------------------
r7727 | ryanmay | 2009-09-09 13:41:43 -0500 (Wed, 09 Sep 2009) | 1 line

Include 'top' keyword argument in docstring for Figure.subplots_adjust().
------------------------------------------------------------------------
r7703 | leejjoon | 2009-09-07 17:29:04 -0500 (Mon, 07 Sep 2009) | 1 line

fix a bug in lib/matplotlib/bezier.py
------------------------------------------------------------------------
r7638 | astraw | 2009-09-05 18:20:45 -0500 (Sat, 05 Sep 2009) | 4 lines

spines: fix 'axes' position bug (closes SF#2852168)

Thanks to Jason Grout for reporting this.

------------------------------------------------------------------------
r7633 | leejjoon | 2009-09-03 22:35:25 -0500 (Thu, 03 Sep 2009) | 1 line

fix a bug in axes_grid.inset_locator.inset_axes
------------------------------------------------------------------------
r7618 | ryanmay | 2009-08-31 12:34:50 -0500 (Mon, 31 Aug 2009) | 1 line

Use atleast_1d instead of asanyarray. This allows passing in scalars
to quiver/barbs.
------------------------------------------------------------------------
r7617 | ryanmay | 2009-08-31 12:29:41 -0500 (Mon, 31 Aug 2009) | 1 line

Pull _parse_args out of Quiver and Barbs classes, as we have multiple,
diverging copies of the same code. Now the shared code will actually
be shared.
------------------------------------------------------------------------
r7616 | ryanmay | 2009-08-31 12:27:12 -0500 (Mon, 31 Aug 2009) | 1 line

Update barb_demo.py with an example using masked arrays.
------------------------------------------------------------------------
r7607 | leejjoon | 2009-08-30 19:32:12 -0500 (Sun, 30 Aug 2009) | 1 line

fix sf bug #2839919
------------------------------------------------------------------------
r7600 | jdh2358 | 2009-08-30 11:22:38 -0500 (Sun, 30 Aug 2009) | 1 line

some unit cleanup; fix sf bug 2846058
------------------------------------------------------------------------
r7598 | jdh2358 | 2009-08-30 08:35:12 -0500 (Sun, 30 Aug 2009) | 1 line

applied Gael's ginput patch
------------------------------------------------------------------------
r7589 | jdh2358 | 2009-08-29 22:40:08 -0500 (Sat, 29 Aug 2009) | 1 line

added minor kwarg to get_?ticklines and applied ginpu patch
------------------------------------------------------------------------
r7584 | efiring | 2009-08-29 12:48:37 -0500 (Sat, 29 Aug 2009) | 2 lines

Semilogx, semilogy ensure one axis is linear; patch by Tony Yu

------------------------------------------------------------------------
r7583 | jdh2358 | 2009-08-29 11:46:44 -0500 (Sat, 29 Aug 2009) | 1 line

minor tweaks to the image tut
------------------------------------------------------------------------
r7582 | jdh2358 | 2009-08-29 11:35:35 -0500 (Sat, 29 Aug 2009) | 1 line

added Michael Sarahan's image tutorial from the scipy mpl sprint
------------------------------------------------------------------------
r7569 | mdboom | 2009-08-25 15:04:34 -0500 (Tue, 25 Aug 2009) | 2 lines

Fix cohere_pairs docstring so it builds with new versions of Sphinx

------------------------------------------------------------------------
r7567 | mdboom | 2009-08-25 10:31:10 -0500 (Tue, 25 Aug 2009) | 2 lines

Support Line2D objects without associated Axes objects.

------------------------------------------------------------------------
r7541 | jdh2358 | 2009-08-23 13:42:37 -0500 (Sun, 23 Aug 2009) | 1 line

more harness around locale
------------------------------------------------------------------------
r7536 | jdh2358 | 2009-08-23 00:27:40 -0500 (Sun, 23 Aug 2009) | 1 line

fix some typos in the docs
------------------------------------------------------------------------
r7533 | jdh2358 | 2009-08-22 21:27:44 -0500 (Sat, 22 Aug 2009) | 1 line

tweaks to os x
------------------------------------------------------------------------
r7530 | jdh2358 | 2009-08-22 21:10:59 -0500 (Sat, 22 Aug 2009) | 1 line

removed darwin lookup in setupext -- use make.osx install
------------------------------------------------------------------------
r7529 | jdh2358 | 2009-08-22 21:10:46 -0500 (Sat, 22 Aug 2009) | 1 line

removed darwin lookup in setupext -- use make.osx install
------------------------------------------------------------------------
r7528 | jdh2358 | 2009-08-22 20:50:21 -0500 (Sat, 22 Aug 2009) | 1 line

added new makefile for osx builds
------------------------------------------------------------------------
r7523 | jdh2358 | 2009-08-22 18:20:30 -0500 (Sat, 22 Aug 2009) | 1 line

fix osx epd formatting bug in rest
------------------------------------------------------------------------
r7522 | jdh2358 | 2009-08-22 18:19:44 -0500 (Sat, 22 Aug 2009) | 1 line

applied Ariel's mlab.cohere_pairs fixes
------------------------------------------------------------------------
r7521 | jdh2358 | 2009-08-22 17:50:55 -0500 (Sat, 22 Aug 2009) | 1 line

added Ariel's max install patch
------------------------------------------------------------------------
r7519 | jouni | 2009-08-22 01:25:07 -0500 (Sat, 22 Aug 2009) | 2 lines

Fix typos found by Marc Desmarais and Nicolas Pinto

------------------------------------------------------------------------
r7517 | jdh2358 | 2009-08-21 19:02:15 -0500 (Fri, 21 Aug 2009) | 1 line

fixed a fifo bug for the new transforms infrastructure
------------------------------------------------------------------------
r7506 | ryanmay | 2009-08-19 02:56:33 -0500 (Wed, 19 Aug 2009) | 1 line

Remove calls to np.asarray(). This was breaking the use of masked
arrays in calls to set_[x|y]data() and is handled appropriately
already by set_data().
------------------------------------------------------------------------
r7502 | mdboom | 2009-08-18 09:08:27 -0500 (Tue, 18 Aug 2009) | 2 lines

Fix some minor typos in the paths tutorial

------------------------------------------------------------------------
r7501 | mdboom | 2009-08-18 09:01:41 -0500 (Tue, 18 Aug 2009) | 2 lines

Fix some minor typos in the transforms tutorial

------------------------------------------------------------------------
r7500 | mdboom | 2009-08-18 09:00:28 -0500 (Tue, 18 Aug 2009) | 2 lines

Fix some minor typos in the transforms tutorial

------------------------------------------------------------------------
r7499 | jdh2358 | 2009-08-18 00:15:21 -0500 (Tue, 18 Aug 2009) | 1 line

added looking glass demo
------------------------------------------------------------------------
r7498 | jdh2358 | 2009-08-17 22:48:21 -0500 (Mon, 17 Aug 2009) | 1 line

added path tut
------------------------------------------------------------------------
r7490 | jdh2358 | 2009-08-15 12:56:44 -0500 (Sat, 15 Aug 2009) | 1 line

added transformations tut, did some reorg
------------------------------------------------------------------------
r7489 | jdh2358 | 2009-08-15 12:40:27 -0500 (Sat, 15 Aug 2009) | 1 line

some doc reorg
------------------------------------------------------------------------
r7486 | mdboom | 2009-08-14 08:30:32 -0500 (Fri, 14 Aug 2009) | 2 lines

Fix documentation about Axis.transAxis (thanks Jason Sage)

------------------------------------------------------------------------
r7484 | efiring | 2009-08-13 20:58:44 -0500 (Thu, 13 Aug 2009) | 3 lines

Prevent exception when image is off screen and out of the axes.
Bug reported by G. Jones.

------------------------------------------------------------------------
r7482 | efiring | 2009-08-13 19:24:40 -0500 (Thu, 13 Aug 2009) | 2 lines

Remove older versions of some functions in mlab.py; closes bug 2806535

------------------------------------------------------------------------
r7480 | jdh2358 | 2009-08-12 19:41:58 -0500 (Wed, 12 Aug 2009) | 1 line

add the pngs referenced by sphinx css; closes sf bug 2834121
------------------------------------------------------------------------
r7477 | efiring | 2009-08-12 11:53:41 -0500 (Wed, 12 Aug 2009) | 2 lines

Typo in navigation_toolbar.rst.

------------------------------------------------------------------------
r7476 | jdh2358 | 2009-08-12 06:37:13 -0500 (Wed, 12 Aug 2009) | 1 line

do case insensitive color string matching, as suggested in sf bug 2834598
------------------------------------------------------------------------
r7475 | jdh2358 | 2009-08-11 19:26:50 -0500 (Tue, 11 Aug 2009) | 1 line

update the contributing faq
------------------------------------------------------------------------
r7446 | heeres | 2009-08-11 02:06:15 -0500 (Tue, 11 Aug 2009) | 2 lines

Fix bugs: #2830483 (axis scaling), 2834105 (z order problem)

------------------------------------------------------------------------
r7444 | efiring | 2009-08-09 19:31:30 -0500 (Sun, 09 Aug 2009) | 3 lines

Sage patch, slightly modified, to improve tk/tcl detection.
http://trac.sagemath.org/sage_trac/ticket/4176

------------------------------------------------------------------------
r7443 | efiring | 2009-08-09 19:19:19 -0500 (Sun, 09 Aug 2009) | 3 lines

Patch from Jason, sage project: prevent failure with tiny arrows.
Also deleting unwanted whitespace in bezier.py.

------------------------------------------------------------------------
r7442 | efiring | 2009-08-09 19:02:56 -0500 (Sun, 09 Aug 2009) | 2 lines

patch from sage project: make unicode_safe safer

------------------------------------------------------------------------
r7433 | efiring | 2009-08-08 13:16:01 -0500 (Sat, 08 Aug 2009) | 2 lines

Fix excessive line length in annotations.rst

------------------------------------------------------------------------
r7432 | jdh2358 | 2009-08-08 10:16:57 -0500 (Sat, 08 Aug 2009) | 1 line

simplify poly array in example
------------------------------------------------------------------------
r7431 | jdh2358 | 2009-08-08 10:10:08 -0500 (Sat, 08 Aug 2009) | 1 line

use a class helper method to make the compound path from polys
------------------------------------------------------------------------
r7430 | jdh2358 | 2009-08-08 08:58:52 -0500 (Sat, 08 Aug 2009) | 1 line

two new examples using a compund path for a histogram; one animated
------------------------------------------------------------------------
r7429 | jdh2358 | 2009-08-08 08:53:24 -0500 (Sat, 08 Aug 2009) | 1 line

two new examples using a compund path for a histogram; one animated
------------------------------------------------------------------------
r7428 | jdh2358 | 2009-08-08 07:21:29 -0500 (Sat, 08 Aug 2009) | 1 line

clean up mplot3d examples: use pyplot noy pylab and numpy rather than
list comps and python random module
------------------------------------------------------------------------
r7426 | jdh2358 | 2009-08-08 06:00:41 -0500 (Sat, 08 Aug 2009) | 1 line

replace list comps w/ numpy in mplot3d
------------------------------------------------------------------------
r7424 | efiring | 2009-08-08 01:07:06 -0500 (Sat, 08 Aug 2009) | 2 lines

Restore default colormap behavior: no color (alpha = 0) for masked data

------------------------------------------------------------------------
r7416 | jdh2358 | 2009-08-07 10:40:56 -0500 (Fri, 07 Aug 2009) | 1 line

don't fail on window icon load
------------------------------------------------------------------------
r7414 | jdh2358 | 2009-08-07 05:15:04 -0500 (Fri, 07 Aug 2009) | 1 line

some doc fixes
------------------------------------------------------------------------
r7409 | ryanmay | 2009-08-06 14:28:16 -0500 (Thu, 06 Aug 2009) | 1 line

Tweak solution for hiding colorbar_doc to sync with trunk.
------------------------------------------------------------------------
r7407 | jdh2358 | 2009-08-06 13:51:58 -0500 (Thu, 06 Aug 2009) | 1 line

hide colorbar_doc a bit
------------------------------------------------------------------------
r7404 | jdh2358 | 2009-08-06 11:41:18 -0500 (Thu, 06 Aug 2009) | 1 line

some updates to site docs for release
------------------------------------------------------------------------
r7403 | leejjoon | 2009-08-06 11:11:30 -0500 (Thu, 06 Aug 2009) | 1 line

fix legend bug ignoring CircleCollection

John Hunter wrote:

We are preparing a bugfix release of the 0.99 branch, and a release
candidate 0.99.1rc1 is available for testing.

  http://drop.io/xortel1#
  

Just installed it on Vista and saw the following issues so far.

- Installer is not running elevated - tracker item 2858636 added
- the issue with __doc__ handling in e.g. mlab.py is still present, see tracker item 2593149 and MatPlotLib - py2exe.org at the end of that page a work around is suggested
- backend_wx does a wxPython version check which does not work when the application is py2exe'd - tracker item 2858638 added and the above wiki page also contains a work around/correction suggestion.

Werner

Just installed it on Vista and saw the following issues so far.

Hey Werner, thanks for the reports.

- Installer is not running elevated - tracker item 2858636 added

Christoph, can you take a look at this?

- the issue with __doc__ handling in e.g. mlab.py is still present, see
tracker item 2593149 and MatPlotLib - py2exe.org at the
end of that page a work around is suggested

This is not expected to be fixed until matplotlib 1.0. The changes
required to fix this are too pervasive for the 0.99 release branch,
where the emphasis is on stability.

- backend_wx does a wxPython version check which does not work when the
application is py2exe'd - tracker item 2858638 added and the above wiki page
also contains a work around/correction suggestion.

OK, we will take a look at this too.

JDH

···

On Mon, Sep 14, 2009 at 10:13 AM, Werner F. Bruhin <werner.bruhin@...185...> wrote:

OK, I will build the final 0.99.1 installers with the
--user-access-control=auto option (works on Python 2.6+).

Christoph

···

On 09/14/2009 08:22, John Hunter wrote:

On Mon, Sep 14, 2009 at 10:13 AM, Werner F. Bruhin > <werner.bruhin@...185...> wrote:

Just installed it on Vista and saw the following issues so far.

Hey Werner, thanks for the reports.

- Installer is not running elevated - tracker item 2858636 added

Christoph, can you take a look at this?

- the issue with __doc__ handling in e.g. mlab.py is still present, see
tracker item 2593149 and MatPlotLib - py2exe.org at the
end of that page a work around is suggested

This is not expected to be fixed until matplotlib 1.0. The changes
required to fix this are too pervasive for the 0.99 release branch,
where the emphasis is on stability.

- backend_wx does a wxPython version check which does not work when the
application is py2exe'd - tracker item 2858638 added and the above wiki page
also contains a work around/correction suggestion.

OK, we will take a look at this too.

JDH

John,

John Hunter wrote:

Just installed it on Vista and saw the following issues so far.
    
Hey Werner, thanks for the reports.
  

You are welcome - anyhow I think it would be more appropriate for me to thank you and everyone else involved in the mpl developement. Thanks really a great job and it keeps getting even better!

...

- the issue with __doc__ handling in e.g. mlab.py is still present, see
tracker item 2593149 and MatPlotLib - py2exe.org at the
end of that page a work around is suggested
    
This is not expected to be fixed until matplotlib 1.0. The changes
required to fix this are too pervasive for the 0.99 release branch,
where the emphasis is on stability.

- backend_wx does a wxPython version check which does not work when the
application is py2exe'd - tracker item 2858638 added and the above wiki page
also contains a work around/correction suggestion.
    
OK, we will take a look at this too.
  

Maybe instead of using "import wxversion" (I think its intent is for developers having multiple versions installed) you might wnat to change the code in backend_wx.py to use one of the following:
import wx
>>> wx.__version__
'2.8.10.1'
>>> wx.version
<function version at 0x02BAEC30>
>>> wx.version()
'2.8.10.1 (msw-unicode)'
>>> wx.VERSION
(2, 8, 10, 1, '')
>>> wx.VERSION_STRING
'2.8.10.1'

This way you don't use wxversion and the check will run in all situations.

Best regards
Werner

···

On Mon, Sep 14, 2009 at 10:13 AM, Werner F. Bruhin > <werner.bruhin@...185...> wrote:

- backend_wx does a wxPython version check which does not work when the
application is py2exe'd - tracker item 2858638 added and the above wiki page
also contains a work around/correction suggestion.
    

OK, we will take a look at this too.
  

Maybe instead of using "import wxversion" (I think its intent is for developers having multiple versions installed) you might wnat to change the code in backend_wx.py to use one of the following:
import wx
>>> wx.__version__
'2.8.10.1'
>>> wx.version
<function version at 0x02BAEC30>
>>> wx.version()
'2.8.10.1 (msw-unicode)'
>>> wx.VERSION
(2, 8, 10, 1, '')
>>> wx.VERSION_STRING
'2.8.10.1'

This way you don't use wxversion and the check will run in all situations.

I don't understand. You are correct that wxversion is used so that if multiple versions are installed, one that will work is the one that gets imported. This seems to be important functionality; it was added because people were having problems, and it seems to have solved those problems. It sounds like you are advocating going back to a simple version check.

Instead, it looks to me like the best solution is the one you provided at the very bottom of MatPlotLib - py2exe.org.

Eric

Hi Eric,

Eric Firing wrote:

- backend_wx does a wxPython version check which does not work when the
application is py2exe'd - tracker item 2858638 added and the above wiki page
also contains a work around/correction suggestion.
    

OK, we will take a look at this too.
  

Maybe instead of using "import wxversion" (I think its intent is for developers having multiple versions installed) you might wnat to change the code in backend_wx.py to use one of the following:
import wx
>>> wx.__version__
'2.8.10.1'
>>> wx.version
<function version at 0x02BAEC30>
>>> wx.version()
'2.8.10.1 (msw-unicode)'
>>> wx.VERSION
(2, 8, 10, 1, '')
>>> wx.VERSION_STRING
'2.8.10.1'

This way you don't use wxversion and the check will run in all situations.

I don't understand. You are correct that wxversion is used so that if multiple versions are installed, one that will work is the one that gets imported. This seems to be important functionality; it was added because people were having problems, and it seems to have solved those problems. It sounds like you are advocating going back to a simple version check.

Unless I misread the code it just wants to ensure that at least version
2.8 is used, this could be done using any of the above variables. Only
things wxversion is doing in addition is to propose to download and for
a developer if he is having a default of < 2.8 it will load 2.8 or
higher if available.

Instead, it looks to me like the best solution is the one you provided at the very bottom of MatPlotLib - py2exe.org.

I am happy with what ever change is done as long as it also works for
py2exe'd application.

Werner

···

Eric

Werner,

Instead, it looks to me like the best solution is the one you provided at the very bottom of MatPlotLib - py2exe.org.

I am happy with what ever change is done as long as it also works for
py2exe'd application.

I have applied this fix to the branch and the trunk, so wxversion will not be imported by py2exe'ed programs.

Eric

Eric,

Eric Firing wrote:

Werner,

Instead, it looks to me like the best solution is the one you provided at the very bottom of MatPlotLib - py2exe.org.

I am happy with what ever change is done as long as it also works for
py2exe'd application.

I have applied this fix to the branch and the trunk, so wxversion will not be imported by py2exe'ed programs.

Great.

I will check it out on the next rc or release.

Werner