Adds plotk function with args, kwargs support