[Git][NTPsec/ntpsec][master] ntpviz: do the range ourselves, instead of letting gnuplot do it.

Gary E. Miller gitlab at mg.gitlab.com
Sat Jan 7 08:25:39 UTC 2017


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


Commits:
36adfe85 by Gary E. Miller at 2017-01-07T00:24:14-08:00
ntpviz: do the range ourselves, instead of letting gnuplot do it.

- - - - -


1 changed file:

- ntpclients/ntpviz


Changes:

=====================================
ntpclients/ntpviz
=====================================
--- a/ntpclients/ntpviz
+++ b/ntpclients/ntpviz
@@ -258,7 +258,8 @@ class VizStats(ntp.statfiles.NTPStats):
             self.percs["max_y"] = self.percs["p99"]
             self.percs["clipped"] = " (clipped)"
         else:
-            self.percs["min_y"] = self.percs["max_y"] = '*'
+            self.percs["min_y"] = self.percs["p0"]
+            self.percs["max_y"] = self.percs["p100"]
             self.percs["clipped"] = ""
 
         self.stats_html = """\



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/36adfe8592cee02fe85a4a2847e0ef63464a8da5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170107/c8c22789/attachment.html>


More information about the vc mailing list