When panning text gets out of bounds

Hello,

I am writing to let you know guys that while implementing a backend I run
into an issue when doing panning. Which render the texts outside the axes.
I tried to solve it but I had no way to know if the text is either from
inside the axes or outside. I think this perhaps need a change in
backend_bases. I looked into the other backends and they have the same
problem even GtkCairo.

http://imagebin.ca/v/2Coe4Nzw3hZl

The problem can be seen on there with the text inside the axes.

Thanks, Andres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20150820/4784aefe/attachment-0001.html>

There is the concept of clipping. We can choose to clip artists to a
bounding box. There has been some back-n-forth on whether or not
annotations should be clipped. I can't remember what we have decided on,
but that example definitely looks like evidence that they should be clipped.

By the way, please use the new python.org mailing lists.

···

On Thu, Aug 20, 2015 at 1:59 PM, Andr?s Vargas <andnovar at gmail.com> wrote:

Hello,

I am writing to let you know guys that while implementing a backend I run
into an issue when doing panning. Which render the texts outside the axes.
I tried to solve it but I had no way to know if the text is either from
inside the axes or outside. I think this perhaps need a change in
backend_bases. I looked into the other backends and they have the same
problem even GtkCairo.

http://imagebin.ca/v/2Coe4Nzw3hZl

The problem can be seen on there with the text inside the axes.

Thanks, Andres

------------------------------------------------------------------------------

_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel at lists.sourceforge.net
matplotlib-devel List Signup and Options

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20150820/58eb1e63/attachment.html&gt;

Thanks for your quick reply !

Not sure but this could be another issue related to the way clipping is
done.

Thanks, Andres

···

On Thu, Aug 20, 2015 at 2:18 PM, Benjamin Root <ben.root at ou.edu> wrote:

There is the concept of clipping. We can choose to clip artists to a
bounding box. There has been some back-n-forth on whether or not
annotations should be clipped. I can't remember what we have decided on,
but that example definitely looks like evidence that they should be clipped.

By the way, please use the new python.org mailing lists.

On Thu, Aug 20, 2015 at 1:59 PM, Andr?s Vargas <andnovar at gmail.com> wrote:

Hello,

I am writing to let you know guys that while implementing a backend I run
into an issue when doing panning. Which render the texts outside the axes.
I tried to solve it but I had no way to know if the text is either from
inside the axes or outside. I think this perhaps need a change in
backend_bases. I looked into the other backends and they have the same
problem even GtkCairo.

http://imagebin.ca/v/2Coe4Nzw3hZl

The problem can be seen on there with the text inside the axes.

Thanks, Andres

------------------------------------------------------------------------------

_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel at lists.sourceforge.net
matplotlib-devel List Signup and Options

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20150821/fe402b35/attachment-0001.html&gt;