Re: [Matplotlib-users] axes.text() plotting text outside of axes bounds

2014-01-22 Thread Michael Droettboom
On 01/22/2014 09:43 AM, Benjamin Root wrote: On Wed, Jan 22, 2014 at 9:21 AM, Daryl Herzmann > wrote: 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

Re: [Matplotlib-users] axes.text() plotting text outside of axes bounds

2014-01-22 Thread Benjamin Root
On Wed, Jan 22, 2014 at 9:21 AM, Daryl Herzmann wrote: > 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

[Matplotlib-users] axes.text() plotting text outside of axes bounds

2014-01-22 Thread Daryl Herzmann
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='cent