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
This commit is contained in:
Matthew Treinish 2018-03-02 06:13:16 -05:00
parent 7121c60a85
commit 02a25056c4
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
1 changed files with 1 additions and 1 deletions

View File

@ -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)