Bryan Fodness wrote:
> 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.
I don't understand what you mean by this--what is the problem?
>
> x1, x2, y1, y2 = -4, 4, -4, 4
> ax1 = axes([0.0, 0.0, 1.0, 1.0], axisbg='0.95')
>
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
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
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')
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
-
C
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?
--
"The game of science can accurately be described as a never-ending insult to
human intelligence." - João Magueijo
<>--