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