Commit 8a9cd883 authored by Christian Schneider's avatar Christian Schneider
Browse files

Bugfix for data_grid selection

parent 4a18d615
......@@ -71,7 +71,7 @@ class data_grid(data_module_base):
def x(self):
"""Default for two dim grid: Return first dimension"""
return self.return_coord(self.name_x)
return self.return_coord(self.name_x)[self.x_min:self.x_max]
def x(self, value):
......@@ -80,7 +80,7 @@ class data_grid(data_module_base):
def y(self):
"""Default for two dim grid: Return second dimension"""
return self.return_coord(self.name_y)
return self.return_coord(self.name_y)[self.y_min:self.y_max]
def y(self, value):
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