Re: [matplotlib-devel] Sourceforge - lost windows binaries

2009-06-02 Thread Charlie Moad
I can't say that I have them.  Petr, you can use 98.5.3 binaries found
here, "http://drop.io/tvuqe3o";.  Just keep in mind that png operations
will fail.

On Sat, May 30, 2009 at 2:14 PM, John Hunter  wrote:
> On Fri, May 29, 2009 at 9:44 PM, Petr Marhoun  wrote:
>> Hello,
>>
>> Few days ago there were new windows binaries on Sourceforge - version
>> 0.98.5.3. Yesterday I also found them in Google cache (see the
>> attachment - I am interested mainly in Python 2.6).
>>
>> But they are not now on Sourceforge. Is there a good reason for it
>> (for example there could be problematic)? Or is it a Sourceforge
>> mistake (I am not sure but I think that design of the Sourceforge
>> download page was different)?
>>
>> Maybe there is another explanation - but if it is possible, could
>> windows binaries be uploaded again?
>
> The 0.98.5.3 binaries have a problem with the PNG output, so I pulled
> them.  Charile, do you still have the 0.98.5.2 win32 binaries to
> reupload while we are sorting out this problem?
>
> JDH
>

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Sourceforge - lost windows binaries

2009-06-02 Thread John Hunter
On Tue, Jun 2, 2009 at 7:59 AM, Charlie Moad  wrote:
> I can't say that I have them.  Petr, you can use 98.5.3 binaries found
> here, "http://drop.io/tvuqe3o";.  Just keep in mind that png operations
> will fail.

I've done some digging on this -- the segfault is happening in
_png.cpp on the line

  png_write_info(png_ptr, info_ptr);

and the error is

  Unhandled exception at 0x7c91b1fa in python.exe: 0xC005: Access
violation writing location 0x0010.

when I paste this part of the message into google "python.exe:
0xC005: Access violation writing location 0x0010" I find all
kinds of matches.  Eg, this page

  
http://stackoverflow.com/questions/391917/jpeg-support-with-ijg-getting-access-violation

suggests that there could be a problem in trying to pass FILE *
pointers to shared libraries.  It seems we've done what is necessary
to compile these statically, but I'm just throwing this out there in
case it stimulates some ideas.  I'm stuck so far in trying to fix
this.

JDH

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] FltkAgg Patch

2009-06-02 Thread Daniel
Hello All,

I have attached a patch that updates backend_fltkagg.py to use the new
Transform APIs for 0.98.0 (
http://matplotlib.sourceforge.net/api/api_changes.html#notes-about-the-transforms-refactoring).
Without these changes, trying to use FLTKAgg causes a crash with a very
cryptic error.

Thanks for all your work on matplotlib!

Daniel
Index: lib/matplotlib/backends/backend_fltkagg.py
===
--- lib/matplotlib/backends/backend_fltkagg.py	(revision 7174)
+++ lib/matplotlib/backends/backend_fltkagg.py	(working copy)
@@ -115,6 +115,7 @@
 window = Fltk.Fl_Double_Window(10,10,30,30)
 canvas = FigureCanvasFltkAgg(figure)
 window.end()
+#Fltk.Fl.visual(Fltk.FL_DOUBLE)
 window.show()
 window.make_current()
 figManager = FigureManagerFltkAgg(canvas, num, window)
@@ -157,7 +158,7 @@
 def handle(self, event):
 x=Fltk.Fl.event_x()
 y=Fltk.Fl.event_y()
-yf=self._source.figure.bbox.height() - y
+yf=self._source.figure.bbox.height - y
 if event == Fltk.FL_FOCUS or event == Fltk.FL_UNFOCUS:
 return 1
 elif event == Fltk.FL_KEYDOWN:
@@ -230,7 +231,7 @@
 def resize(self,size):
 w, h = size
 # compute desired figure size in inches
-dpival = self.figure.dpi.get()
+dpival = self.figure.dpi
 winch = w/dpival
 hinch = h/dpival
 self.figure.set_size_inches(winch,hinch)
@@ -405,7 +406,7 @@
 """
 
 def __init__(self, canvas, figman):
-#xmin, xmax = canvas.figure.bbox.intervalx().get_bounds()
+#xmin, xmax = canvas.figure.bbox.intervalx
 #height, width = 50, xmax-xmin
 self.canvas = canvas
 self.figman = figman
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] mplot3d - text3D replacement?

2009-06-02 Thread Reinier Heeres
Hi Tom,

This is the right place to ask.

I'm working on putting some documentation together and I'll also look
into getting Text3D supported again. I hope to push things to svn next
weekend...

Regards,
Reinier

On Tue, Jun 2, 2009 at 6:49 AM, Tom Loredo  wrote:
>
> Hi-
>
> I'm sorry if this should be in mpl-users; since mplot3d is a work
> in progress and not documented I thought the question might
> better fit mpl-devel.
>
> I'm trying to migrate some old code that used matplotlib.axes3d to
> use mpl_toolkits.mplot3d.axes3d.  For an axes3d instance ax, it
> used the ax.text3D method to place labels on the 3-D axes.  Is
> there a counterpart for mplot3d.axes3d?  The only similar method I see
> there is text(), which only takes an (x, y) position instead of
> an (x,y,z) position.
>
> Thanks,
> Tom

-- 
Reinier Heeres
Bleijenburg 64
2511 VD Den Haag
The Netherlands

Tel: +31 6 10852639

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel