Plot
sereto.plot
¶
risks_plot(risks, path)
¶
Generate a bar plot with the number of vulnerabilities per risk rating.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
risks
|
Risks
|
Object containing the counts of vulnerabilities for each risk rating. |
required |
path
|
Path
|
Desired destination for the generated PNG file. |
required |
Source code in sereto/plot.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|