r"""Get the plot output directory of a model. Parameters ---------- model : alphapy.Model The model object with directory information. Returns ------- plot_directory : str The output directory to write the plot.
(model)
| 186 | # |
| 187 | |
| 188 | def get_plot_directory(model): |
| 189 | r"""Get the plot output directory of a model. |
| 190 | |
| 191 | Parameters |
| 192 | ---------- |
| 193 | model : alphapy.Model |
| 194 | The model object with directory information. |
| 195 | |
| 196 | Returns |
| 197 | ------- |
| 198 | plot_directory : str |
| 199 | The output directory to write the plot. |
| 200 | |
| 201 | """ |
| 202 | directory = model.specs['directory'] |
| 203 | plot_directory = SSEP.join([directory, 'plots']) |
| 204 | return plot_directory |
| 205 | |
| 206 | |
| 207 | # |
no outgoing calls
no test coverage detected