From: Eric F. <ef...@ha...> - 2005-05-28 20:30:48
|
John, Jeff, Yes, I am on the matplotlib-devel list. Coincidentally, while walking in to work yesterday, a possible workaround for the long-standing contourf mask bug occurred to me. In the process of testing it, I found that masking was not working as expected for either contour or contourf. I had done a little testing before sending in cntr.c and related changes, but obviously I missed the problem then. The cause should be quite simple and localized. I think I can track it down and come up with a clean fix, so that at worst only the original contourf bug remains (and maybe the workaround for that will, indeed, work). Please allow me a little time to work on this. Eric John Hunter wrote: >>>>>>"Jeff" == Jeff Whitaker <js...@fa...> writes: > > > Jeff> The basemap toolkit relies on the 'badmask' parameter in > Jeff> contour/contourf to mask out areas outside the desired map > Jeff> projection region in matplotlib 0.80. It works quite > Jeff> well. Unfortunately, the new masked array support in CVS > Jeff> doesn't (I get all kinds of weird artifacts, especially for > Jeff> contourf but also for contour). Can the old badmask > Jeff> functionality be added back in for 0.81, at least > Jeff> temporarily until the masked array support stabilizes? > > I don't have anything to add to this, I'm just replying so I can CC > Eric Firing, who added the masked array support to contour, because I > don't know if he is on the devel list. > > JDH |