Marijuana in California. Was that Friday by Heinlein?

In a science fiction book I read in the '80s, the protagonist goes to California. There, marijuana had been legalised. I think it was even sold in vending machines, like cigarettes used to be sold. In my mind, the governor looked like Dr. Teeth from The Muppets. (Something about a top hat, I think.)

Was that in Friday, by Robert Heinlein?

I haven’t read it in years but I don’t recall any of that from Friday. I remember lottery tickets and the fact that they vote nearly all the time, but I don’t recall specifically that they were voting for governor or that the governor was ever described. I don’t recall any pot vending machine either, although I do think I remember that Friday got coffee from a vending machine while she was recuperating in the Company hospital.

Heinlein’s Number of the Beast had one of the main characters take on board marijuana from the fields of Mars. I can’t think of any other mentions unless it was a later yet book.
I have to reread Friday, it has been too long.

It was in Friday. There were ads for marijuana when Friday was in California.

If you’re referring to Chief Confederate John “Warwhoop” Tumbril, my mental image was something akin to a wimpy Jeff Sessions.

Ads, yes, but I don’t recall vending machines. (Disclaimer: my copy of the book went on “permanent loan” years ago, so my recollection is certainly subject to correction.)

I can’t identify a specific novel or story but that sounds more like Philip K. Dick, who featured legalized and commercially packaged cannabis in a number of stories often set in California. Dick, along with Paddy Chayefsky and J.G Ballard, was of the most prescient of narrative futurists.

Stranger

Friday was the first book I didn’t finish. About halfway through, a great revelation came over me: If I didn’t like it, I could just set it down and walk away. A great moment for me.

I can think of another Heinlein marijuana reference. In The Puppet Masters, they take some highly refined form of it to slow their subjective experience of time during their leave. Obviously not what the OP remembers, but vaguely on-topic.