I am having some problems with the axes frame being clipped.

Consider the following:

from pylab import *
fill([0,1,1,0],[0,0,1,1],facecolor=(1,1,1),edgecolor=(1,1,1))
axis([-1,1,-1,1])
gca().get_frame().set_linewidth(20)
show()

I have made the frame thick to emphasize the problem: When I plot
things, they overwrite part of the frame which looks bad.  What is the
simplest/best way to avoid this?

I would like the axes frame to be drawn only outside of the actual
plot area, but I cannot figure out how to achieve this.  (It seems
like this might also be desirable default behaviour...).  Otherwise,
I would settle for the frame being drawn over top of the plot so that
it is smooth.

A crude hack would be to plot a blank rectangle.  It should also be
possible to use clipping somehow, but I do not have much experience
with that.

Is there a simple solution?

Thanks for any help,
Michael



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to