MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / remove

Method remove

lib/matplotlib/contour.py:520–530  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

518 self._paths[icon] = Path.make_compound_path(*additions)
519
520 def remove(self):
521 super().remove()
522 for text in self.labelTexts:
523 try:
524 text.remove()
525 except ValueError:
526 _api.warn_external(
527 "Some labels were manually removed from the ContourSet. "
528 "To remove labels cleanly, remove the entire ContourSet "
529 "and recreate it.")
530 self.labelTexts.clear()
531
532
533def _find_closest_point_on_path(xys, p):

Callers 1

pop_labelMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected