Commit 5facd2cc authored by Gerhard Kirchmair's avatar Gerhard Kirchmair
Browse files

Bugfix for extract function

parent 6f35c169
......@@ -212,7 +212,8 @@ class data_grid(data_module_base):
data_table module
"""
x, y = self.df.dims[:2]
ex = self.df.sel(y=y0, method='nearest')
kws = {y: y0}
ex = self.df.sel(method='nearest', **kws)
data = data_table([np.array(self.df.coords[x]), np.array(ex)],
[x, y])
data.par = self.par
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment