From 7607793f34e58671cc571b5f4de648ebdc8fb5cb Mon Sep 17 00:00:00 2001
From: Daniel Brown <ddb@star.sr.bham.ac.uk>
Date: Wed, 17 Sep 2014 12:34:10 +0100
Subject: [PATCH] more potential str rounding fixes

---
 pykat/commands.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pykat/commands.py b/pykat/commands.py
index e8ffe34..bf546c0 100644
--- a/pykat/commands.py
+++ b/pykat/commands.py
@@ -210,7 +210,7 @@ class xaxis(Command):
         comp_name = self.__comp.name if hasattr(self.__comp, "name") else self.__comp
         param_name = self.__param.name if isinstance(self.__param, Param) else self.__param
         
-        return '{axis_type} {0} {1} {2} {3} {4} {5}'.format(
+        return '{axis_type} {0} {1} {2} {3:.16g} {4:.16g} {5}'.format(
                 comp_name, param_name, self.scale,
                 min(self.limits), max(self.limits), self.steps, axis_type=self._axis_type);
 
-- 
GitLab