Officers from the South East Neighbourhood Policing Team attended addresses in Upton and South Elmsall yesterday where they found the occupants cultivating the class B drug.
A 29-year-old female was also arrested for possession of class B drug amphetamine.
People can report drug crime via Crime Stoppers on 0800 555 111 or by calling West Yorkshire Police on 101.