Skip to content
Snippets Groups Projects
Commit ac775064 authored by Daniel Brown's avatar Daniel Brown
Browse files

fixing xaxis limits

parent 9d9aafe6
Branches
No related tags found
No related merge requests found
...@@ -368,7 +368,7 @@ class xaxis(Command): ...@@ -368,7 +368,7 @@ class xaxis(Command):
return '{axis_type} {0} {1} {2} {3:.16g} {4:.16g} {5}'.format( return '{axis_type} {0} {1} {2} {3:.16g} {4:.16g} {5}'.format(
comp_name, param_name, self.scale, comp_name, param_name, self.scale,
min(self.limits), max(self.limits), self.steps, axis_type=self._axis_type); self.limits[0], self.limits[1], self.steps, axis_type=self._axis_type);
class x2axis(xaxis): class x2axis(xaxis):
def __init__(self, scale, limits, param, steps, comp=None, axis_type="x2axis"): def __init__(self, scale, limits, param, steps, comp=None, axis_type="x2axis"):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment