Hello, I'm wondering why stuff plotted with ax.text() does not get "clipped" by the axes bounds on the plot. Here's a simple example, run with 1.3.1:
import matplotlib.pyplot as plt
(fig, ax) = plt.subplots(1,1)
for i in range(5):
for j in range(5):
ax.text(i,j, "%sx%s" % (i,j), ha='center', va='center')
ax.plot([0,8],[0,8])
ax.set_xlim(0,2.8)
ax.set_ylim(0,2.8)
fig.savefig('test.png')
and attached output. This causes me lots of grief with basemap as well.
Is there a non-brute-force trick to get these values plotted outside the
axes bounds removed?
daryl
<<attachment: test.png>>
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
