In [3]:
import numpy as np
import vaex as vx
import pylab
%matplotlib inline
#server = vx.server("localhost")
#names = server.list_datasets()

In [5]:
server = vx.server("localhost", port=9000)
list = server.datasets()
print list
ds = list[0]


fetching http://localhost:9000/datasets
[<vaex.remote.DatasetRest object at 0x10aa81e50>]

In [11]:
reload(vx)
reload(vx.dataset)
server = vx.server("localhost", port=9000)
list = server.datasets()
ds = list[0]
subspace = ds("x", "y")
limits = subspace.limits_sigma(square=True)
print limits
grid = subspace.histogram(limits=limits, weight="10 + sqrt(x**2+y**2)")
subspace.figlarge()
subspace.plot(np.log(grid+1), limits=limits, cmap="afmhot")


fetching http://localhost:9000/datasets
[[-22.72239654  22.58813356]
 [-22.70885492  22.60167519]]
fetching http://localhost:9000/datasets/helmi-dezeeuw-2000-10p/histogram
data (256, 256) [[ 41.99355233   0.           0.         ...,   0.          41.76135123
    0.        ]
 [  0.           0.           0.         ...,   0.           0.           0.        ]
 [  0.           0.           0.         ...,   0.           0.           0.        ]
 ..., 
 [  0.           0.           0.         ...,   0.           0.           0.        ]
 [ 41.75168397   0.           0.         ...,   0.           0.           0.        ]
 [  0.           0.          41.7175526  ...,   0.           0.           0.        ]]

In [16]:
import ipy_autoreload

%load_ext autoreload
%autoreload 2


---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-16-42b861736920> in <module>()
----> 1 import ipy_autoreload
      2 
      3 get_ipython().magic(u'load_ext autoreload')
      4 get_ipython().magic(u'autoreload 2')

ImportError: No module named ipy_autoreload

In [19]:
%aimport vaex
%aimport vaex.dataset

In [20]:
%autoreload?

In [18]:
import autoreloadload

In [ ]: