Skip to content

Commit 601cc99

Browse files
Conchylicultorcopybara-github
authored andcommitted
Remove pyplot from lazy_import
PiperOrigin-RevId: 257090131
1 parent f3b4d15 commit 601cc99

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

tensorflow_datasets/core/lazy_imports.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ def PIL_Image(cls): # pylint: disable=invalid-name
8282
def pretty_midi(cls):
8383
return _try_import("pretty_midi")
8484

85-
@utils.classproperty
86-
@classmethod
87-
def pyplot(cls):
88-
return _try_import("matplotlib.pyplot")
89-
9085
@utils.classproperty
9186
@classmethod
9287
def scipy(cls):

tensorflow_datasets/core/lazy_imports_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class LazyImportsTest(testing.TestCase, parameterized.TestCase):
3434
"os",
3535
"pretty_midi",
3636
"pydub",
37-
"pyplot",
3837
"scipy",
3938
"skimage",
4039
)

0 commit comments

Comments
 (0)