We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
skip
1 parent 2679d08 commit 513ee70Copy full SHA for 513ee70
RATapi/utils/plotting.py
@@ -833,7 +833,9 @@ def plot_chain(
833
"""
834
chain = results.chain
835
nsimulations, nplots = chain.shape
836
- skip = floor(nsimulations / maxpoints) # to evenly distribute points plotted
+ # skip is to evenly distribute points plotted
837
+ # all points will be plotted if maxpoints < nsimulations
838
+ skip = max(floor(nsimulations / maxpoints), 1)
839
840
# convert names to indices if given
841
fitname_to_index = partial(name_to_index, names=results.fitNames)
0 commit comments