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

Skip to content

Commit 66835a3

Browse files
committed
Merge pull request #3834 from tacaswell/remove_lod
Remove lod
2 parents 60eace2 + 94b9c0d commit 66835a3

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Removed `lod` from Artist
2+
`````````````````````````
3+
4+
Removed the method *set_lod* and all references to
5+
the attribute *_lod* as the are not used anywhere else in the
6+
code base. It appears to be a feature stub that was never built
7+
out.

lib/matplotlib/artist.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ def __init__(self):
8989
self.clipbox = None
9090
self._clippath = None
9191
self._clipon = True
92-
self._lod = False
9392
self._label = ''
9493
self._picker = None
9594
self._contains = None
@@ -740,17 +739,6 @@ def set_alpha(self, alpha):
740739
self._alpha = alpha
741740
self.pchanged()
742741

743-
def set_lod(self, on):
744-
"""
745-
Set Level of Detail on or off. If on, the artists may examine
746-
things like the pixel width of the axes and draw a subset of
747-
their contents accordingly
748-
749-
ACCEPTS: [True | False]
750-
"""
751-
self._lod = on
752-
self.pchanged()
753-
754742
def set_visible(self, b):
755743
"""
756744
Set the artist's visiblity.
@@ -834,7 +822,6 @@ def update_from(self, other):
834822
self.clipbox = other.clipbox
835823
self._clipon = other._clipon
836824
self._clippath = other._clippath
837-
self._lod = other._lod
838825
self._label = other._label
839826
self._sketch = other._sketch
840827
self._path_effects = other._path_effects

0 commit comments

Comments
 (0)