add missing import in plotting