Path lacks initial MOVETO

Hello everyone,

I have been using matplotlib 0.99.3 to write some down. But I had to upgrade my OS and so installed the last version of the library 1.1.0. But unfortunately when I try to run my code I get the following error:

raise ValueError, ‘Path lacks initial MOVETO’

ValueError: Path lacks initial MOVETO

I have been goggling it and saw some reports about it when using a vector containing zeros for which I apply a log and then trying to plot this. But the reports seem to indicate this was fixed in a svn version I can’t access anymore.

Can anyone point me on the correct direction to solve this problem?

Thank you very much in advance,

Bruno Santos

Could you provide a bit more information: Are you calling Path directly? If not, do you know what in your code is calling it? A minimal, runnable example would be very helpful.

Cheers,
-Tony

···

On Thu, Jan 19, 2012 at 12:07 PM, Bruno Santos <bacmsantos@…287…> wrote:

Hello everyone,

I have been using matplotlib 0.99.3 to write some down. But I had to upgrade my OS and so installed the last version of the library 1.1.0. But unfortunately when I try to run my code I get the following error:

raise ValueError, ‘Path lacks initial MOVETO’

ValueError: Path lacks initial MOVETO

I have been goggling it and saw some reports about it when using a vector containing zeros for which I apply a log and then trying to plot this. But the reports seem to indicate this was fixed in a svn version I can’t access anymore.

Can anyone point me on the correct direction to solve this problem?

Thank you very much in advance,

Bruno Santos

Sorry it took me a while to get back to you. I have finally written some code to replicate the problem. I have attached a file with it.

Thank you very much in advance,

Bruno Santos

2012/1/19 Tony Yu <tsyu80@…287…>

matplotlib_test.py (7.44 KB)

···

On Thu, Jan 19, 2012 at 12:07 PM, Bruno Santos <bacmsantos@…287…> wrote:

Hello everyone,

I have been using matplotlib 0.99.3 to write some down. But I had to upgrade my OS and so installed the last version of the library 1.1.0. But unfortunately when I try to run my code I get the following error:

raise ValueError, ‘Path lacks initial MOVETO’

ValueError: Path lacks initial MOVETO

I have been goggling it and saw some reports about it when using a vector containing zeros for which I apply a log and then trying to plot this. But the reports seem to indicate this was fixed in a svn version I can’t access anymore.

Can anyone point me on the correct direction to solve this problem?

Thank you very much in advance,

Bruno Santos

Could you provide a bit more information: Are you calling Path directly? If not, do you know what in your code is calling it? A minimal, runnable example would be very helpful.

Cheers,
-Tony

I have a solution for this in this pull request:

https://github.com/matplotlib/matplotlib/pull/684

If able, would you mind confirming that it addresses your issue?

Mike
···

http://p.sf.net/sfu/learndevnow-dev2Matplotlib-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/matplotlib-users

I have a solution for this in this pull request:

[https://github.com/matplotlib/matplotlib/pull/684](https://github.com/matplotlib/matplotlib/pull/684)



If able, would you mind confirming that it addresses your issue?



Mike

This fix worked on my system.
-Tony

···

On Mon, Jan 23, 2012 at 9:56 AM, Michael Droettboom <mdroe@…120…86…> wrote:

On 01/23/2012 09:02 AM, Bruno Santos wrote:
  Sorry it took me a while to get back to you. I have finally

written some code to replicate the problem. I have attached a file
with it.

Thank you very much in advance,

Bruno Santos

2012/1/19 Tony Yu <tsyu80@…287…>

              On Thu, Jan 19, 2012 at 12:07 PM, Bruno > > > Santos <bacmsantos@...287...> > > >                   wrote:

Hello everyone,

                  I have been using matplotlib 0.99.3 to write

some down. But I had to upgrade my OS and so
installed the last version of the library 1.1.0.
But unfortunately when I try to run my code I get
the following error:

                  raise ValueError, 'Path lacks initial

MOVETO’

ValueError: Path lacks initial MOVETO

                  I have been goggling it and saw some reports

about it when using a vector containing zeros for
which I apply a log and then trying to plot this.
But the reports seem to indicate this was fixed in
a svn version I can’t access anymore.

                  Can anyone point me on the correct direction to

solve this problem?

Thank you very much in advance,

Bruno Santos

            Could you provide a bit more information: Are you

calling Path directly? If not, do you know what in
your code is calling it? A minimal, runnable example
would be very helpful.

            Cheers,

            -Tony
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
[http://p.sf.net/sfu/learndevnow-dev2](http://p.sf.net/sfu/learndevnow-dev2)
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
[https://lists.sourceforge.net/lists/listinfo/matplotlib-users](https://lists.sourceforge.net/lists/listinfo/matplotlib-users)

Try before you buy = See our experts in action!

The most comprehensive online learning library for Microsoft developers

is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,

Metro Style Apps, more. Free future releases when you subscribe now!

http://p.sf.net/sfu/learndevnow-dev2


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users