The votes from Santa Barbara County were not included in the canvass. The statewide totals listed here are the certified totals and do NOT include the Santa Barbara figures.
Candidates' party affiliations obtained from the 11/25/1871 Placer Herald (of Auburn). https://chroniclingamerica.loc.gov/lccn/sn82014998/1871-11-25/ed-1/seq-2/
Source for Popular Vote data: California State Archives, "Attorney General," Abstract of the Votes polled at a General Election Held in the State of California on Wednesday the Sixth day of September A. D. 1871 (Sacramento, 1871)