|
From: Andrew S. <str...@as...> - 2004-03-16 07:44:42
|
G'day! I've implemented a mostly-matlab-compatible "fill" command. I attach it for your pleasure and hopeful inclusion into matplotlib. (This is an extension of our previous email discussion and involved me going and using matlab for a bit to get a feel for their API.) 2 points: 1) Is there any reason why the Patch class doesn't have get_xdata() and get_ydata() methods? 1b) If not, can we add them and let Axes.add_patch(patch) call "self.xaxis.datalim.update(patch.get_xdata())" ? 2) I think there's still a Polygon facecolor bug. John, I thought you fixed the Polygon facecolor bug -- my patches.py code matches the bugfix you emailed the list, but I still don't get the facecolor with the PS, GTK or Agg backends. Cheers! Andrew |