Re: [Numpy-discussion] Migrating numpy Trac to github issues

2012-06-12 Thread Ralf Gommers
On Mon, Jun 11, 2012 at 4:11 PM, Thouis (Ray) Jones tho...@gmail.comwrote: I've volunteered to help manage the migration of numpy tickets from Trac to github issues. Awesome, thanks! The first part of this process is to decide which tickets to migrate, and how to map Trac ticket data to

[Numpy-discussion] numpy array in networkx graph?

2012-06-12 Thread bob tnur
can anyone give me a hint on the following code? import network as nx import pylab as plt G=nx.Graph(M) # M is numpy matrix ,i.e:type(M)=numpy.ndarray for i in xrange(len(M)): tt=P[i,:].sum() if tt==1: G.add_node(i,color='blue') elif tt==2:

Re: [Numpy-discussion] numpy array in networkx graph?

2012-06-12 Thread Brett Olsen
This seems to work: import networkx as nx import pylab import numpy as N M = N.random.random((10, 10)) G = nx.Graph(M) node_colors = [] for i in xrange(len(M)): if M[i,0] 0.5: node_colors.append('white') else: node_colors.append('blue') nx.draw(G, node_color=node_colors)

[Numpy-discussion] Enum/Factor NEP (now with code)

2012-06-12 Thread Bryan Van de Ven
Hi all, It has been some time, but I do have an update regarding this proposed feature. I thought it would be helpful to flesh out some parts of a possible implementation to learn what can be spelled reasonably in NumPy. Mark Wiebe helped out greatly in navigating the NumPy code codebase.

[Numpy-discussion] SciPy2012 conference: Last week for early birds, poster submissions

2012-06-12 Thread Stéfan van der Walt
Hi everyone We're rapidly approaching SciPy2012 http://conference.scipy.org/scipy2012, which takes place in Austin, Texas from July 16th to 21st. This is a reminder that the *discounted early bird registration* closes on the 18th of this month. Also, we decided to keep the queue for *poster