We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4225897 commit 966f208Copy full SHA for 966f208
benchmarks/errorbar-plot/plot.py
@@ -14,13 +14,14 @@
14
def main():
15
parser = argparse.ArgumentParser(description="Plot the results of the errorbar-plot benchmark.")
16
parser.add_argument('root', help="directory with the result files to plot")
17
- parser.add_argument('--alternative-palette', dest='use_alt_palette',
18
- action='store_true', default=False,
+ parser.add_argument('--alternative-palette',
+ dest='use_alt_palette',
19
+ action='store_true',
20
help="Use another color palette")
21
args = parser.parse_args()
22
23
root = pathlib.Path(args.root)
- result_files = list(root.glob('*.csv'))
24
+ result_files = sorted(root.glob('*.csv'))
25
if len(result_files) == 0:
26
print(f"There are no files to plot in {root}")
27
sys.exit(1)
0 commit comments