Re: [matplotlib-devel] release strategy, and the role of v0_98_5_maint

2009-04-13 Thread John Hunter
On Sun, Apr 12, 2009 at 10:20 PM, Charlie Moad  wrote:
> I updated the binaries at the same link as before:
> http://drop.io/tvuqe3o

I just tested the python2.5 installer
matplotlib-0.98.5.3.win32-py2.5.exe and get a segfault when I try and
import matplotlib.backends._tkagg

When I open _tkagg.pyd in dependencywalker, it appears to be missing
"DWMAPI.DLL".  Any ideas?

JDH

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Updating MPlot3D to a more recent matplotlib.

2009-04-13 Thread John Hunter
On Sun, Apr 12, 2009 at 6:09 PM, Reinier Heeres  wrote:
> Hi,
>
> It took me a while to get this done, but I managed to make mplot3d
> working with svn trunk again!

Hmm, this does not seem to be against svn HEAD on the trunk.  I cloned
your repo with

  > git clone http://qtwork.nano.tudelft.nl/public_git/users/rwh/mplot3d

but am getting some errors with mpl svn HEAD.  For example,

jo...@flag:mplot3d> python demo.py
Traceback (most recent call last):
  File "demo.py", line 23, in ?
line, = ax.plot3d([0.2,1.8, 2.5], [0.2,.5,3.7], [0,.5,.2], 'ro')
  File "/home/flag/johnh/tmp/mplot3d/axes3d.py", line 528, in plot3D
lines = Axes.plot(self, xs,ys, *args, **kwargs)
  File "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/axes.py",
line 3357, in plot
self.autoscale_view(scalex=scalex, scaley=scaley)
  File "/home/flag/johnh/tmp/mplot3d/axes3d.py", line 228, in autoscale_view
if not self._autoscaleon: return
AttributeError: 'Axes3DI' object has no attribute '_autoscaleon'


And when I fix that (use self.get_autoscale_on()), I get the error I
referred you to earlier in this thread about the deprecated
TextWithDash

jo...@flag:mplot3d> python demo.py
Traceback (most recent call last):
  File "demo.py", line 33, in ?
plt.draw()
  File "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/pyplot.py",
line 350, in draw
get_current_fig_manager().canvas.draw()
  File 
"/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/backends/backend_tkagg.py",
line 215, in draw
FigureCanvasAgg.draw(self)
  File 
"/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/backends/backend_agg.py",
line 283, in draw
self.figure.draw(self.renderer)
  File "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/figure.py",
line 773, in draw
for a in self.axes: a.draw(renderer)
  File "/home/flag/johnh/tmp/mplot3d/axes3d.py", line 181, in draw
self.w_xaxis.draw(renderer)
  File "/home/flag/johnh/tmp/mplot3d/axis3d.py", line 410, in draw
tick_update_position(tick, x,y,z, angle=angle)
  File "/home/flag/johnh/tmp/mplot3d/axis3d.py", line 102, in
tick_update_position
tick.label1.set_dashlength(8)
AttributeError: 'Text' object has no attribute 'set_dashlength'


Have you committed your latest?

JDH

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Updating MPlot3D to a more recent matplotlib.

2009-04-13 Thread Reinier Heeres
Hi,

Should be working now: I did commit and push my changes, but forgot to
update the http indices (that was a real head-breaker!).

Instead of demo.py it is nicer to try "python axes3d.py".

Hope it works!

Cheers,
Reinier

On Mon, Apr 13, 2009 at 6:51 PM, John Hunter  wrote:
> On Sun, Apr 12, 2009 at 6:09 PM, Reinier Heeres  wrote:
>> Hi,
>>
>> It took me a while to get this done, but I managed to make mplot3d
>> working with svn trunk again!
>
> Hmm, this does not seem to be against svn HEAD on the trunk.  I cloned
> your repo with
>
>  > git clone http://qtwork.nano.tudelft.nl/public_git/users/rwh/mplot3d
>
> but am getting some errors with mpl svn HEAD.  For example,
>
> 
>
> Have you committed your latest?
>
> JDH
>



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

Tel: +31 6 10852639

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release strategy, and the role of v0_98_5_maint

2009-04-13 Thread Charlie Moad
On Mon, Apr 13, 2009 at 11:46 AM, John Hunter  wrote:
> On Sun, Apr 12, 2009 at 10:20 PM, Charlie Moad  wrote:
>> I updated the binaries at the same link as before:
>> http://drop.io/tvuqe3o
>
> I just tested the python2.5 installer
> matplotlib-0.98.5.3.win32-py2.5.exe and get a segfault when I try and
> import matplotlib.backends._tkagg
>
> When I open _tkagg.pyd in dependencywalker, it appears to be missing
> "DWMAPI.DLL".  Any ideas?

Looks like it's a MingW issue.

http://bugs.python.org/issue3308

Unfortunately I am at a conference until the weekend.  Any results
from the osx binaries?

- Charlie

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel