<div dir="ltr">I did not understand that the issue was with the `Line2D` object, not with the `Polygon` object is that example.<div><br></div><div>What are the path codes that go with those vertices?  Does kivy not support Bezier curves?</div><div><br></div><div>This is much easier if you include minimal runnable code snippets that demonstrate the issue inline in the email.</div><div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 11, 2015 at 1:51 PM Andrés Vargas <<a href="mailto:andnovar@gmail.com">andnovar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I am so sorry I did a wrong use of the reply button. I am currently on 1.5.dev1 and when I run from examples/showcase/integral_demo.py I see a line from the last point to the initial as can be seen here <a href="http://imagebin.ca/v/2C7X8CAKZN0g" target="_blank">http://imagebin.ca/v/2C7X8CAKZN0g</a> and this happens in all the paths that are open.<br><br></div>This is how gtk is doing it:<br><br><a href="http://pastebin.com/MM7YBv4F" target="_blank">http://pastebin.com/MM7YBv4F</a><br><br></div>I am doing this:<br><br><a href="http://pastebin.com/7QwJKMv3" target="_blank">http://pastebin.com/7QwJKMv3</a><br><br></div><div>In 1.4.3 does not have this point at the end of the polygon path.<br></div><div><br></div>Thanks, Andres</div><div dir="ltr"><br><div><div><br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 14, 2015 at 10:21 AM, Thomas Caswell <span dir="ltr"><<a href="mailto:tcaswell@gmail.com" target="_blank">tcaswell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Please keep all discussion on the mailing list (<a href="mailto:matplotlib-devel@python.org" target="_blank">matplotlib-devel@python.org</a>).</div><div><br></div>Being pedantic about versions, current master is v1.5.0dev1 , not 1.5.1 (which will be the first bug fix release in the 1.5 series which may or may not ever happen).<div><br></div><div>I don't have gtk installed to easily test this and it looks fine with qt4agg, can you provide a minimal script and the code paths from a simple polygon?<br><div><br></div><div>Tom<div><div><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 14, 2015 at 9:05 AM Andrés Vargas <<a href="mailto:andnovar@gmail.com" target="_blank">andnovar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Tom,<div><br></div><div>Thanks for your prompt reply. I am using the function path.to_polygons() and that gives me a non-closed path in matplotlib 1.4.3 (last stable release) and give me a closed path in 1.5.1 (master from github). You can see the problem if you run integral_demo.py with matplotlib 1.5.1 master with matplotlib.use('gtk').</div><div><br></div><div>Thanks, Andres</div></div><div dir="ltr"><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 14, 2015 at 8:13 AM, Thomas Caswell <span dir="ltr"><<a href="mailto:tcaswell@gmail.com" target="_blank">tcaswell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Did you mean 1.4.1 instead of 1.5.1 ?</p>
<p dir="ltr">Exactly which paths are you looking at and how are you generating then on the mpl side? We have many ways to generate the paths and there maybe inconsistence in how closed paths are handled.</p>
<p dir="ltr">Tom</p>
<br><div class="gmail_quote"><div><div><div dir="ltr">On Wed, Aug 12, 2015, 1:57 PM Andrés Vargas <<a href="mailto:andnovar@gmail.com" target="_blank">andnovar@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>Hello,<br><br></div>My name is Andres I am developing a backend for kivy. I was initially developing for 1.5.1 and I found that the paths are coming with the initial vertex at the end of the list. Does anyone know whether this is change in the way paths are sent ? and how can be fixed coming from 1.4.3 since I am developing the backend for that version.<br><br></div>Thanks, Andres<br></div></div></div>
------------------------------------------------------------------------------<br>
_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@lists.sourceforge.net" target="_blank">Matplotlib-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/matplotlib-devel</a><br>
</blockquote></div>
</blockquote></div><br><br clear="all"><div><br></div>
</div></div></div></blockquote></div></div></div></div></div></div>
</blockquote></div><br><br></div></div></div></div></div></div></div>
_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org" target="_blank">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
</blockquote></div>