Skip to content

Commit

Permalink
minor change in argument for split prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dany Doerr committed Oct 20, 2023
1 parent 65bd0ca commit bd492f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/panacus-visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def save_split_figures(ax, f, format, prefix):
help='Specify the format of the output')
parser.add_argument('--split_subfigures', action='store_true',
help='Split output into multiple files')
parser.add_argument('--output_prefix', default='out_',
parser.add_argument('--split_prefix', default='out_',
help='Prefix given to the files generated when splitting into subfigures')

args = parser.parse_args()
Expand Down Expand Up @@ -267,7 +267,7 @@ def save_split_figures(ax, f, format, prefix):
with fdopen(stdout.fileno(), 'wb', closefd=False) as out:
plt.savefig(out, format=args.format)
else:
save_split_figures(axs, f, args.format, args.output_prefix)
save_split_figures(axs, f, args.format, args.split_prefix)

plt.close()

Expand Down

0 comments on commit bd492f5

Please sign in to comment.