[Piuparts-devel] [Git][debian/piuparts][develop] Revert "Make generated graphs 4K ready."

Holger Levsen gitlab at salsa.debian.org
Thu Oct 18 02:32:54 BST 2018


Holger Levsen pushed to branch develop at Debian / piuparts


Commits:
5e7fb89b by Holger Levsen at 2018-10-18T01:32:37Z
Revert "Make generated graphs 4K ready."

This reverts commit e3ef4df314afb65f6806eff11986887cc68b9cb1.

- - - - -


2 changed files:

- debian/changelog
- piuparts-report.py


Changes:

=====================================
debian/changelog
=====================================
@@ -38,7 +38,6 @@ piuparts (0.93) UNRELEASED; urgency=medium
     - Link mail templates for filings from navigation menu.
     - Drop references to "PTS" and use "tracker.d.o" instead.
     - Add link to piuparts source package pages from known problem pages.
-    - Make generated graphs 4K ready.
     - Minor cleanups.
   * Use the new debhelper-compat(=11) notation and drop d/compat.
   * CONTRIBUTING: explain never to directly push to the develop nor master


=====================================
piuparts-report.py
=====================================
@@ -1295,7 +1295,7 @@ class Section:
         countsfile = os.path.join(self._section_directory, "counts.txt")
         pngfile = os.path.join(self._output_directory, "states.png")
         grdevices = importr('grDevices')
-        grdevices.png(file=pngfile, width=3200, height=1800, pointsize=10, res=100, antialias="none")
+        grdevices.png(file=pngfile, width=1600, height=900, pointsize=10, res=100, antialias="none")
         r = robjects.r
         states = self._binary_db.get_states()
         active_states = self._binary_db.get_active_states()
@@ -1768,7 +1768,7 @@ def make_bts_stats_graph(master_dir, out_dir):
     countsfile = os.path.join(master_dir, "bts_stats.txt")
     pngfile = os.path.join(out_dir, "images", "bts_stats.png")
     grdevices = importr('grDevices')
-    grdevices.png(file=pngfile, width=3200, height=1800, pointsize=10, res=100)
+    grdevices.png(file=pngfile, width=1600, height=900, pointsize=10, res=100)
     r = robjects.r
     r('t <- (read.table("' + countsfile + '",sep=",",header=1,row.names=1))')
     # make graph since day 1



View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/5e7fb89b31a0e912af7dca4e3ea215cec5cec0c1

-- 
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/5e7fb89b31a0e912af7dca4e3ea215cec5cec0c1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20181018/fe5ce719/attachment-0001.html>


More information about the Piuparts-devel mailing list