Although the comparison of these two images is striking, it is also somewhat arbitrary. Let us look at the overall situation of open carry laws in the United States. The Wikipedia on this topic classifies the situation in California as "anomalous".
Open carry legal in rural counties with local ordinances allowing open carry. Some of these counties issue a permit for open carry. Additionally, a person may also open carry if he or she "reasonably believes that any person or the property of any person is in immediate, grave danger and that the carrying of the weapon is necessary for the preservation of that person or property."[23] One can expect to be detained and questioned by law enforcement in most urban areas if using the latter rationale as the basis for openly carrying a firearm in public.
The endnote "23" included there links to the decision from a 1997 court case, Peruta v. San Diego County. The article on that case leads to think that laws in California may have changed considerably in recent decades. So while I think it is fair to argue that the 1967 Mulford Act had a clear connection to racialized fears of the Black Panther Party, that alone is not enough to make the case that California's current restrictions are racist.
Getting back to the general list of state-level restrictions on open carry, a few other states are labelled as more plainly restrictive ("Non-permissive"). Many more states, including Michigan, are considered permissive. Here is a map of the overall situation:
![map of open carry restrictions](https://cdn.statically.io/img/i.sstatic.net/P7ryc.png)
If there are some simple correlation between anti-black racism and restrictions on open carry, I would intuitively expect Southern Black Belt states like Alabama and Mississippi to at least have local restrictions, but they do not. While this analysis is somewhat superficial, I am inclined to say that the question as framed in the headline is an oversimplification. Racism may matter in terms of how gun legislation is passed and enforced, but the juxtaposition of these two images doesn't really tell us a whole lot.