Showing 1 of 1 files from the diff.

@@ -18,6 +18,7 @@
Loading
18 18
# mpl.rcParams['text.usetex'] = True
19 19
20 20
def plot_landscape_simple(landscape: PersLandscape,
21 +
                   alpha = 1,
21 22
                   padding = 0.1, 
22 23
                   num_steps = 1000,
23 24
                   title = None,
@@ -26,10 +27,11 @@
Loading
26 27
    plot landscape functions. 
27 28
    """
28 29
    if isinstance(landscape, PersLandscapeExact):
29 -
        return plot_landscape_exact_simple(landscape=landscape, title=title)
30 +
        return plot_landscape_exact_simple(landscape=landscape, alpha=alpha, title=title)
30 31
31 32
    if isinstance(landscape, PersLandscapeGrid):
32 -
        return plot_landscape_grid_simple(landscape=landscape, padding=padding, num_steps=num_steps, title=title)
33 +
        return plot_landscape_grid_simple(landscape=landscape, alpha=alpha, padding=padding, num_steps=num_steps, title=title)
34 +
33 35
34 36
def plot_landscape_exact_simple(landscape: PersLandscapeExact,
35 37
                   alpha = 1,
@@ -74,7 +76,6 @@
Loading
74 76
                   alpha = 1,
75 77
                   padding = 0.1,
76 78
                   num_steps = 1000,
77 -
                   smooth = True,
78 79
                   title = None):
79 80
    """
80 81
    A simple plot of the persistence landscape. This is a faster plotting utility than the standard plotting, but is recommended for smaller landscapes for ease of visualization.
@@ -83,6 +84,12 @@
Loading
83 84
    ----------
84 85
    alpha, default 1
85 86
        transparency of shading
87 +
88 +
    padding: float, default 0.1
89 +
        amount of empty grid shown to left and right of landscape functions
90 +
        
91 +
    num_steps: int, default 1000
92 +
        number of sampled points that are plotted
86 93
        
87 94
    """
88 95
    fig = plt.figure()
Files Coverage
persim 60.56%
Project Totals (18 files) 60.56%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading