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