New function for matplotlib text.
fun (function) – the original label matplotlib function
args (tuple) – arguments of the original function
kwargs (dict) – further keyword arguments of the original function
Wrapper.
fun (function) – the function to wrap
new_fun (function) – the new function that is called before calling the original function