[matplotlib-devel] axes.py scatter doc-bug

2008-03-12 Thread Manuel Metz
Hi, the doc-string of the axes scatter method is buggy. Somehow the svn-conflict messages got committed to the repository: I mean this <<< .working [...] === [...] >>> .merge-right.r4987 ... stuff) Manuel - T

[matplotlib-devel] blitting and byteswapping a buffer

2008-03-12 Thread Darren Dale
I discovered another blitting bug in backend_qt4agg.py. Qt expects a pixmap stringBuffer formatted in ARGB, but mpl formats in RGBA. The qt4 backend usually uses the _renderer.tostring_bgra method to return a properly formatted buffer: if QtCore.QSysInfo.ByteOrder == QtCore.QSysInfo.LittleEndi

[matplotlib-devel] LineCollection and alpha

2008-03-12 Thread Michael Fitzgerald
Hi all, I found a small bug in LineCollection, which gives an exception when setting alpha. This is manifested in e.g. hlines and vlines: In [1]: hlines((0,),(-1,),(1,),color='b',alpha=0.1) --- IndexError

[matplotlib-devel] basemap drawcoastlines: suppress legend label

2008-03-12 Thread Eric Firing
Jeff, When putting a legend on a basemap plot, I find that the legend command picks up the coastline line collection and gives it an uninformative label. I suspect this is rarely what one wants. Two suggestions: 1) In drawcoastlines, use "coastlines.set_label('_nolabel_') to suppress inclusi