Skip to content
Snippets Groups Projects
Unverified Commit 438416d3 authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

rename _multi bar_ subcommand to `multi-bar`

this is for consistency, to use the _command case_ everywhere, not only
in arguments and options.
parent 32e6ebc4
Branches
Tags 0.3.0
No related merge requests found
......@@ -77,7 +77,7 @@ let data = {
}
```
```bash
gplt multi_bar ...[
gplt multi-bar ...[
--title "TITLE"
--label "LABEL"
--fullscreen
......
......@@ -34,7 +34,7 @@ if __name__ == "__main__":
plot_parser.add_argument("--dpi", type=int, default=500, help="the DPI of the save image")
multi_bar_parser = subparsers.add_parser(
"multi_bar",
"multi-bar",
help="Multi-bar plot.",
formatter_class=argparse.RawTextHelpFormatter,
)
......@@ -64,7 +64,7 @@ if __name__ == "__main__":
save_aspect_ratio=args.aspect_ratio,
save_dpi=args.dpi,
)
elif args.subcommand == "multi_bar":
elif args.subcommand == "multi-bar":
groups, measurements = multi_bar.extract(json.loads(args.data))
plot_layout = "constrained" if args.fullscreen else None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment