Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

remove unused matplotlib dependency

Edgar Ribaa851811b43c7
diff --git a/kornia/feature/laf.py b/kornia/feature/laf.py
index 71f68345b..f2c6649fb 100644
--- a/kornia/feature/laf.py
+++ b/kornia/feature/laf.py
@@ -5,13 +5,6 @@ import kornia
import math
import torch
import torch.nn.functional as F
-import warnings
-try:
- import matplotlib.pyplot as plt
- MATPLOTLIB = True
-except:
- warnings.warn("no matplotlib found, visualize_laf not available ")
- MATPLOTLIB = False
def get_laf_scale(LAF: torch.Tensor) -> torch.Tensor: