Skip to content

Commit 779260a

Browse files
committed
add missing arg on remove
1 parent 31f9539 commit 779260a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/polyscope/structure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def remove(self):
2121
def remove_all_quantities(self):
2222
'''Remove all quantities on the structure'''
2323
self.bound_instance.remove_all_quantities()
24-
def remove_quantity(self, name):
24+
def remove_quantity(self, name, error_if_absent=False):
2525
'''Remove a single quantity on the structure'''
26-
self.bound_instance.remove_quantity(name)
26+
self.bound_instance.remove_quantity(name, error_if_absent)
2727

2828

2929
## Enable/disable

0 commit comments

Comments
 (0)