pymdea.plot¶
Plotting functions.
DeaPlotter(model, theme='ticks', colors='muted')
¶
Plot DEA results.
Parameters:
-
model
(Self @ DeaEngine
) –Object containing the results of a DEA analysis to be plotted.
-
theme
(str {"ticks", "whitegrid", "darkgrid"}
, default:"ticks"
) –Name of a seaborn style. Passed through to seaborn.set_theme().
-
colors
(str {"muted", "deep", "Set2", "tab10"}
, default:"muted"
) –Name of a seaborn or matplotlib color palette. Passed through to seaborn.set_theme().
Source code in src/pymdea/plot.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
mu_candidates(fig_width=4, fig_height=3)
¶
Plot the possible values of mu.
Parameters:
-
fig_width
(int
, default:4
) –Width, in inches, of the figure.
-
fig_height
(int
, default:3
) –Height, in inches, of the figure.
Source code in src/pymdea/plot.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
|
s_vs_l(fig_width=4, fig_height=3)
¶
Plot the slope of entropy vs window length.
Parameters:
-
fig_width
(int
, default:4
) –Width, in inches, of the figure.
-
fig_height
(int
, default:3
) –Height, in inches, of the figure.
Source code in src/pymdea/plot.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
|