Difficulty plotting multi-switchpoint posterior distributions

Can you use 3 backticks (`) to format the code? You can use all markdown and some extra features here, using > for quoting content doesn’t preserve the indentation so it’s difficult to read python code