I have copied the new patches.py and axes.py. It fixed the fill, but I
still have an axes instance that is not closed.
x1, x2, y1, y2 = -4, 4, -4, 4
ax1 = axes([0.0, 0.0, 1.0, 1.0], axisbg='0.95')
ax2 = axes([0.2, 0.1, 0.6, 0.8], axisbg='w')
ax2.fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r')
xlim(x1-2,x2+2)
ylim(y1-2,y2+2)
Do I need more than the files that I have copied?
On Thu, Jun 5, 2008 at 4:19 PM, Eric Firing <[EMAIL PROTECTED]> wrote:
> Bryan,
>
> Thanks for pointing this out. Mike D. has made a change in the svn trunk
> to restore the automatic closing of polygons made with the patches.Polygon
> constructor, which is used by the fill command.
>
> Eric
>
> Bryan Fodness wrote:
>
>> It seems like it does not connect the last point to the first point. This
>> also happens with the matplotlib.patches Polygon.
>> from pylab import fill, xlim, ylim, savefig
>> x1, x2, y1, y2 = -4, 4, -4, 4
>> fill([x1,x2,x2,x1], [y1,y1,y2,y2], fc='None', ec='r')
>> xlim(-5,5)
>> ylim(-5,5)
>> savefig('edge_test')
>>
>>
>> On Thu, Jun 5, 2008 at 1:18 AM, Eric Firing <[EMAIL PROTECTED] <mailto:
>> [EMAIL PROTECTED]>> wrote:
>>
>> Bryan Fodness wrote:
>>
>> I just upgraded to 0.98.0 and recreated a few graphs. I am
>> missing parts of the edges of a fill and polygon. Any suggestions?
>>
>>
>> Please post an illustrative script, as simple as possible.
>>
>> Eric
>>
>>
>>
>>
>> --
>> "The game of science can accurately be described as a never-ending insult
>> to human intelligence." - João Magueijo
>>
>
>
--
"The game of science can accurately be described as a never-ending insult to
human intelligence." - João Magueijo
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users