<div dir="ltr">I can reproduce the problem with the GTK backend but not the GTKAgg or GTKCairo backends. Unless you have some specific reason for using the GTK backend I would strongly recommend against it. <span style="line-height:1.5;font-size:13.1999998092651px">It is untested, unmaintained and officially discouraged: <a href="http://matplotlib.org/faq/usage_faq.html#what-is-a-backend">http://matplotlib.org/faq/usage_faq.html#what-is-a-backend</a> I would recommend you to use GTKAgg instead. </span><div><div><div><br></div><div>Furthermore the GDK toolkit, used in that backend, has been dropped from GTK3 which officially uses Cairo internally and thus Matplotlib only supports GTK3Agg and GTK3Cario <div><br></div><div>I guess the issue is likely a result of the large C++ refactoring in master. </div><div><br></div><div>best </div><div>Jens</div><div><br></div><div><br><div><div><br></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">fre. 14. aug. 2015 kl. 15.21 skrev Thomas Caswell <<a href="mailto:tcaswell@gmail.com">tcaswell@gmail.com</a>>:<br></div><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<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></blockquote></div></div></div></div><div dir="ltr"><div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 dir="ltr"><div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></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>