From 02a25056c4ce508e59fd7e5fefbf60bea975175b Mon Sep 17 00:00:00 2001
From: Matthew Treinish <mtreinish@kortar.org>
Date: Fri, 2 Mar 2018 06:13:16 -0500
Subject: [PATCH] Honor dpi cli flag for ci_time graph

The newly added ci_time graph was originally introduced before the dpi
cli flag for the subunit2sql-graph command. It merged around the same
time as the cli flag meaning it was never updated to respect that, and
had a hardcoded dpi of 900. This commit fixes that oversight and updates
the command to use the dpi flag.

Change-Id: I72b3dc5d4d484a2b9f7b542ab1da01cc40a0ed24
---
 subunit2sql/analysis/ci_time.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subunit2sql/analysis/ci_time.py b/subunit2sql/analysis/ci_time.py
index c89272f..96a2165 100644
--- a/subunit2sql/analysis/ci_time.py
+++ b/subunit2sql/analysis/ci_time.py
@@ -61,4 +61,4 @@ def generate_series():
     plt.xticks(range(len(ci_time)), ci_time.keys(), rotation=90, fontsize=8)
     plt.title(title)
     plt.tight_layout()
-    plt.savefig(CONF.output, dpi=900)
+    plt.savefig(CONF.output, dpi=CONF.dpi)