Commits

German Larrain committed 8170a27

graphics.Adapter: added docstrings to 'add_object' and 'remove_object'.

Comments (0)

Files changed (1)

ars/graphics/__init__.py

 
 	@abstractmethod
 	def add_object(self, obj):
+		"""Add ``obj`` to the visualization controlled by this adapter.
+
+		:param obj:
+		:type obj: :class:`Body`
+
+		"""
 		raise NotImplementedError()
 
 	@abstractmethod
 	def remove_object(self, obj):
+		"""Remove ``obj`` from the visualization controlled by this adapter.
+
+		:param obj:
+		:type obj: :class:`Body`
+
+		"""
 		raise NotImplementedError()
 
 	def add_objects_list(self, obj_list):