Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 792f441

Browse files
committed
MNT : remove set_lod and self._lod from Artist
They do not seem to ever be used.
1 parent 300ee75 commit 792f441

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

lib/matplotlib/artist.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def __init__(self):
8787
self.clipbox = None
8888
self._clippath = None
8989
self._clipon = True
90-
self._lod = False
9190
self._label = ''
9291
self._picker = None
9392
self._contains = None
@@ -712,17 +711,6 @@ def set_alpha(self, alpha):
712711
self._alpha = alpha
713712
self.pchanged()
714713

715-
def set_lod(self, on):
716-
"""
717-
Set Level of Detail on or off. If on, the artists may examine
718-
things like the pixel width of the axes and draw a subset of
719-
their contents accordingly
720-
721-
ACCEPTS: [True | False]
722-
"""
723-
self._lod = on
724-
self.pchanged()
725-
726714
def set_visible(self, b):
727715
"""
728716
Set the artist's visiblity.
@@ -803,7 +791,6 @@ def update_from(self, other):
803791
self.clipbox = other.clipbox
804792
self._clipon = other._clipon
805793
self._clippath = other._clippath
806-
self._lod = other._lod
807794
self._label = other._label
808795
self._sketch = other._sketch
809796
self._path_effects = other._path_effects

0 commit comments

Comments
 (0)