[Git][NTPsec/ntpsec][master] ntpviz: another ytics tweak

Gary E. Miller gitlab at mg.gitlab.com
Thu Feb 9 21:29:38 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
92851ddc by Gary E. Miller at 2017-02-09T13:29:17-08:00
ntpviz: another ytics tweak

- - - - -


1 changed file:

- ntpclients/ntpviz


Changes:

=====================================
ntpclients/ntpviz
=====================================
--- a/ntpclients/ntpviz
+++ b/ntpclients/ntpviz
@@ -274,9 +274,9 @@ class VizStats(ntp.statfiles.NTPStats):
             self.percs["clipped"] = ""
 
         span = self.percs["max_y"] - self.percs["min_y"]
-        if 10 <= span:
+        if 7 <= span:
             self.fmt = '%.0f'
-        elif 0.6 <= span:
+        elif 0.7 <= span:
             self.fmt = '%.1f'
         elif 0.1 <= span:
             self.fmt = '%.2f'



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/92851ddcdc1229b00a14435b86709ebef4f66a16
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170209/bd5f3dbf/attachment.html>


More information about the vc mailing list