add figure plugin