Re: [Matplotlib-users] invalidrestore - PDF

2007-03-02 Thread Jouni K . Seppänen
[EMAIL PROTECTED] writes: > a) 2.3 doesn't have the sorted function - it uses a .sort() > function. So, I had to change line 487 from: I think this was taken care of by Nicolas Grilly's recent patch. > b) No update() function (line 396) > for (name, value) in self.markers.items(): >

Re: [Matplotlib-users] invalidrestore - EPS file

2007-02-26 Thread Alan G Isaac
On Mon, 26 Feb 2007, [EMAIL PROTECTED] apparently wrote: > gs didn't seen to complain. That increases the likelihood it is the MS interpreter. Odd thought. > I also tried GIMP. While it didn't complain, the picture > displayed is horribly bad. IIRC, that would be a bitmap of your file ...

Re: [Matplotlib-users] invalidrestore - EPS file

2007-02-26 Thread kc106_2005-matplotlib
I installed gsview and gs and tried it. AFAIK, gs didn't seen to complain. I also tried GIMP. While it didn't complain, the picture displayed is horribly bad. > > An "invalidrestore" error signals an improper restore. > E.g., a string, dictionary, or procedure is left on the > stack that

Re: [Matplotlib-users] invalidrestore - PDF

2007-02-26 Thread kc106_2005-matplotlib
S and hopefully that problem will get fixed someday. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jouni K. Seppänen > Sent: Monday, February 26, 2007 9:56 AM > To: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplo

Re: [Matplotlib-users] invalidrestore

2007-02-26 Thread Alan G Isaac
An "invalidrestore" error signals an improper restore. E.g., a string, dictionary, or procedure is left on the stack that needs to be discarded before restore. Probably a dictionary with no 'end'. Two obvious possibilities: - there is an invalid restore. This should be fixed. - something is wro

Re: [Matplotlib-users] invalidrestore

2007-02-26 Thread Jouni K . Seppänen
[EMAIL PROTECTED] writes: > Back to the subject at hand. Using PNG files works but brings with it > other problems and so I would really appreciate a resolution to this > "invalidrestore" issue. I can't use PDF because I have to embedd the > plots in a Word document. Not sure what SVG is (I'll loo

Re: [Matplotlib-users] invalidrestore

2007-02-26 Thread kc106_2005-matplotlib
Thanks for the answer, John. Up to this point, the other software package we use produces EPS files only and so I've been using it this way for a while. May not be the best way but I've tried other EPS viewers and so far Word actually is the best way since I have to embedd the plots into Word

Re: [Matplotlib-users] invalidrestore

2007-02-26 Thread John Hunter
On 2/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > After doing some investigation, I discovered that this problem is > reproducible using sample programs such as axes_demo.py. Here are the steps > I took: > > a) Run axes_demo.py > b) Save the plot as eps file > c) Start Word > d) Insert

Re: [Matplotlib-users] invalidrestore

2007-02-26 Thread Darren Dale
On Sunday 25 February 2007 12:41:58 pm [EMAIL PROTECTED] wrote: > After doing some investigation, I discovered that this problem is > reproducible using sample programs such as axes_demo.py. Here are the > steps I took: > > a) Run axes_demo.py > b) Save the plot as eps file > c) Start Word > d) I

Re: [Matplotlib-users] invalidrestore

2007-02-25 Thread kc106_2005-matplotlib
: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] invalidrestore > > > Thanks for pointing that out, Eric. > > I try that and it did turn my plot 90 degree. The bad news > is that GSview imports it upside down and if I want to view > the plot on t

Re: [Matplotlib-users] invalidrestore

2007-02-23 Thread kc106_2005-matplotlib
an .eps viewer in order to see my plots... Regards > -Original Message- > From: Eric Firing [mailto:[EMAIL PROTECTED] > Sent: Friday, February 23, 2007 3:07 PM > To: [EMAIL PROTECTED] > Cc: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-use

Re: [Matplotlib-users] invalidrestore

2007-02-23 Thread Eric Firing
[EMAIL PROTECTED] wrote: > I installed gsview and gscript and tried it. The good news is that when I > print from inside gsview, the error page is gone. The bad news is that the > oritentation is wrong. My plot is designed for landscape. From word, I set > the page setup to landscape, impor

Re: [Matplotlib-users] invalidrestore

2007-02-23 Thread kc106_2005-matplotlib
age- > From: Eric Firing [mailto:[EMAIL PROTECTED] > Sent: Friday, February 23, 2007 12:06 PM > To: [EMAIL PROTECTED] > Cc: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] invalidrestore > > > [EMAIL PROTECTED] wrote: > > Hi list, > &g

Re: [Matplotlib-users] invalidrestore

2007-02-23 Thread Eric Firing
[EMAIL PROTECTED] wrote: > Hi list, > > I am getting an "invalidrestore" from the printer when I print a figure > created with MPL. The page prints fine but for each plot, I am getting an > error page. I didn't have this problem until I started making a number of > font related changes. Bef

[Matplotlib-users] invalidrestore

2007-02-23 Thread kc106_2005-matplotlib
Hi list, I am getting an "invalidrestore" from the printer when I print a figure created with MPL. The page prints fine but for each plot, I am getting an error page. I didn't have this problem until I started making a number of font related changes. Before I go through a bunch of painful r