Add command line options
parent
2a8c24e672
commit
23b40fc995
|
|
@ -237,6 +237,13 @@ def lattice(c, *args, **kwargs):
|
|||
multiple=True,
|
||||
help="X coordinates of column separators.",
|
||||
)
|
||||
@click.option(
|
||||
"-R",
|
||||
"--rows",
|
||||
default=[],
|
||||
multiple=True,
|
||||
help="Y coordinates of rows separators.",
|
||||
)
|
||||
@click.option(
|
||||
"-e",
|
||||
"--edge_tol",
|
||||
|
|
@ -282,6 +289,8 @@ def stream(c, *args, **kwargs):
|
|||
kwargs["table_areas"] = None if not table_areas else table_areas
|
||||
columns = list(kwargs["columns"])
|
||||
kwargs["columns"] = None if not columns else columns
|
||||
rows = list(kwargs["rows"])
|
||||
kwargs["rows"] = None if not rows else rows
|
||||
|
||||
if plot_type is not None:
|
||||
if not _HAS_MPL:
|
||||
|
|
|
|||
Loading…
Reference in New Issue