helper module
Provide evaluator helpers.
- return_value_should_be_plotted(partial_function)[source]
Determine if keyword ‘to_plot’ was passed and is True.
This function only works on functions defined by
functools.partial. If it is not (lambda function, “classic” function), we consider that the plotting was not desired. We check if the ‘to_plot’ keyword was given in the partial definition, and if it is not we also consider that the plot was not wanted.