This depicts a two lane road with no bike lane.
The cyclist should actually be in the middle of the lane or even slightly left of middle to avoid motorists trying to squeeze by them in the same lane, like in the comic, which creates a dangerous circumstance for the cyclist, having fast moving vehicles passing inches away.
It's funny how often you see drivers taking a right turn and they are terrified of scraping their tire on the curb, so they have a several foot gap. But we should trust them to know where the right side of their car is when squeezing past a cyclist? I admit they can see better in that situation, but the risk is all on the cyclist.
The safest circumstance for the cyclist is if there is a car behind them who is not passing. But most motorists like to go faster than a bicycle.
The motorist should pass the bicycle in the same way they'd pass any other slower moving vehicle, by using the oncoming lane in a passing zone.
Of course, that creates its own sort of danger because inattentive drivers may come up onto the bicycle too quickly and then they won't have a place to swerve to at the last moment.
And all of that is simply about the safety of the cyclist. Obviously, some places will have ridiculous laws that force cyclists into dangerous situations.
But realistically, with the attitudes and complete lack of driving skills of most drivers, cyclists are taking risks just by using roads like that.