]> git.ipfire.org Git - oddments/collecty.git/commitdiff
graphs: Swap widths and height
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Sep 2020 17:05:09 +0000 (17:05 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Sep 2020 17:05:09 +0000 (17:05 +0000)
I messed this up

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/collecty/plugins/base.py

index 8f122555dcd8e74751c2cb89d5a105168d3cf3c3..12e56bebd96bc7b8130c09e30988b62d7edeb0fc 100644 (file)
@@ -584,13 +584,13 @@ class GraphTemplate(object):
                ]
 
                # Set the default dimensions
-               default_height, default_width = 960, 480
+               default_width, default_height = 960, 480
 
                # A thumbnail doesn't have a legend and other labels
                if thumbnail:
                        args.append("--only-graph")
 
-                       default_height, default_width = 80, 20
+                       default_width, default_height = 80, 20
 
                args += [
                        "--imgformat", format,