From 9351f5b5f88cc7d94f9f9983b81746d060a5bde9 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Thu, 26 Jan 2023 19:16:34 -0800 Subject: [PATCH] Default to adding ports at the origin --- masque/ports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/ports.py b/masque/ports.py index dd73af2..3a297ab 100644 --- a/masque/ports.py +++ b/masque/ports.py @@ -181,7 +181,7 @@ class PortList(metaclass=ABCMeta): def add_port_pair( self: PL, - offset: ArrayLike, + offset: ArrayLike = (0, 0), rotation: float = 0.0, names: Tuple[str, str] = ('A', 'B'), ptype: str = 'unk',