graph output to file
This commit is contained in:
@@ -239,7 +239,11 @@ def paint_result(result: Result, options: Options):
|
||||
align='left')
|
||||
|
||||
fig.tight_layout()
|
||||
plt.show()
|
||||
|
||||
if isinstance(options.graph, str):
|
||||
plt.savefig(options.graph, dpi=600)
|
||||
else:
|
||||
plt.show()
|
||||
|
||||
|
||||
def print_help():
|
||||
|
||||
Reference in New Issue
Block a user