Jewish associations in Spain and the Israeli Embassy in Madrid condemned a cartoon used by a Spanish far-left political party to protest President Obama’s planned visit, saying on Friday that the cartoon was anti-Semitic.

The cartoon shows Mr. Obama hugging a caricature of a Jewish man and slipping dollars into the man’s pocket, with explosions in the foreground. It was posted on Twitter by the United Left party along with a call for protesters to gather in front of the American Embassy in Madrid on Sunday.

Mr. Obama was scheduled to arrive in Seville on Saturday night and spend Sunday sightseeing and visiting an American military base in southern Spain. He was scheduled to have lunch on Monday in Madrid with King Felipe VI and the leaders of Spain’s main political parties.

But White House officials said Friday that because of the shooting deaths of five police officers in Dallas, the president would be skipping the visit to Seville. He will meet with the king and speak to the troops and then return to the United States.