You could also write `if plot_func.__module__ not in supported:` which I think is easier to read. Personal preference perhaps.