[Matplotlib-devel] [matplotlib-devel] When panning text gets out of bounds

Benjamin Root ben.root at ou.edu
Thu Aug 20 20:18:06 CEST 2015


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
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20150820/58eb1e63/attachment.html>


More information about the Matplotlib-devel mailing list