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

Method pop_label

lib/matplotlib/contour.py:487–491  ·  view source on GitHub ↗

Defaults to removing last label, but any index can be supplied

(self, index=-1)

Source from the content-addressed store, hash-verified

485 self._paths[idx_level_min] = path
486
487 def pop_label(self, index=-1):
488 """Defaults to removing last label, but any index can be supplied"""
489 self.labelCValues.pop(index)
490 t = self.labelTexts.pop(index)
491 t.remove()
492
493 def labels(self, inline, inline_spacing):
494 for idx, (icon, lev, cvalue) in enumerate(zip(

Callers 1

Calls 2

popMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected