File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 25
25
from itertools import cycle
26
26
import warnings
27
27
28
- import matplotlib .pyplot as plt
29
- import matplotlib as mpl
30
28
from scipy import sparse
31
29
32
30
import numpy as np
33
31
from sklearn .base import TransformerMixin
34
32
from sklearn .metrics .pairwise import pairwise_distances
35
33
36
- import persim
37
-
38
34
from pyRipser import doRipsFiltrationDM as DRFDM
39
35
from pyRipser import doRipsFiltrationDMSparse as DRFDMSparse
40
36
@@ -640,6 +636,9 @@ def plot(
640
636
If you are using self.plot() as part of a subplot,
641
637
set show=False and call plt.show() only once at the end.
642
638
"""
639
+ import matplotlib .pyplot as plt
640
+ import matplotlib as mpl
641
+ import persim
643
642
644
643
if diagrams is None :
645
644
# Allow using transformed diagrams as default
You can’t perform that action at this time.
0 commit comments