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 2525from itertools import cycle
2626import warnings
2727
28- import matplotlib .pyplot as plt
29- import matplotlib as mpl
3028from scipy import sparse
3129
3230import numpy as np
3331from sklearn .base import TransformerMixin
3432from sklearn .metrics .pairwise import pairwise_distances
3533
36- import persim
37-
3834from pyRipser import doRipsFiltrationDM as DRFDM
3935from pyRipser import doRipsFiltrationDMSparse as DRFDMSparse
4036
@@ -640,6 +636,9 @@ def plot(
640636 If you are using self.plot() as part of a subplot,
641637 set show=False and call plt.show() only once at the end.
642638 """
639+ import matplotlib .pyplot as plt
640+ import matplotlib as mpl
641+ import persim
643642
644643 if diagrams is None :
645644 # Allow using transformed diagrams as default
You can’t perform that action at this time.
0 commit comments