We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31f9539 commit 779260aCopy full SHA for 779260a
1 file changed
src/polyscope/structure.py
@@ -21,9 +21,9 @@ def remove(self):
21
def remove_all_quantities(self):
22
'''Remove all quantities on the structure'''
23
self.bound_instance.remove_all_quantities()
24
- def remove_quantity(self, name):
+ def remove_quantity(self, name, error_if_absent=False):
25
'''Remove a single quantity on the structure'''
26
- self.bound_instance.remove_quantity(name)
+ self.bound_instance.remove_quantity(name, error_if_absent)
27
28
29
## Enable/disable
0 commit comments