Re: [Numpy-discussion] plt.show() and plt.draw() doesnt work

2014-07-13 Thread Ralf Gommers
On Sat, Jul 12, 2014 at 6:53 PM, Josè Luis Mietta < joseluismie...@yahoo.com.ar> wrote: > Hi experts! > > I have a numpy array M. I generate a graph using NetworkX and then I want > to draw this graph: > > import networkx as nx > import matplotlib.pyplot as plt > G=nx.graph(M) > nx

Re: [Numpy-discussion] String type again.

2014-07-13 Thread Nathaniel Smith
On 12 Jul 2014 23:06, "Charles R Harris" wrote: > > As previous posts have pointed out, Numpy's `S` type is currently treated as a byte string, which leads to more complicated code in python3. OTOH, the unicode type is stored as UCS4, which consumes a lot of space, especially for ascii strings. Th

Re: [Numpy-discussion] Short-hand array creation in `numpy.mat` style

2014-07-13 Thread Daπid
On 11 July 2014 22:30, Daniel da Silva wrote: > I think the idea at hand is not that it would be used everyday, but it > would be there when needed. What people do everyday is with *real* data. > They are using functions to load the data. > But sometimes we have to hard-code a few values, and it