Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Extra parameters passed to plotting.degradation_summary_plots()
Returns
-------
matplotlib.figure.Figure
See Also
--------
rdtools.plotting.degradation_summary_plots
'''
keys = [f'{result_to_plot}_degradation_results',
f'{result_to_plot}_aggregated']
results_dict, aggregated = self.calculate(keys)
fig = plotting.degradation_summary_plots(
results_dict['p50_rd'],
results_dict['rd_confidence_interval'],
results_dict['calc_info'],
aggregated,
**kwargs)
return fig