Skip to content

Ranking plot making job stability #441

Discussion options

You must be logged in to vote

is there any way to set the number of sources shown in the ranking plot?

Yes, the max_pars option does that, see https://cabinetry.readthedocs.io/en/latest/api.html#cabinetry.visualize.ranking.

is there any way to select sources shown in the correlation plot?

Not currently. #342 adds something like this for pulls, which could also be applied to correlations. At the moment the way to accomplish this is to pass a modified FitResults object into visualize.correlation_matrix. Here's an example:

import numpy as np

# assumes you have some object fit_results with your fit results
# remove all parameters with "staterror" in the name
delete_indices = [idx for idx, label in enumerate(fit_results.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Tomoya-Iizawa
Comment options

@Tomoya-Iizawa
Comment options

@Tomoya-Iizawa
Comment options

@alexander-held
Comment options

Answer selected by Tomoya-Iizawa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants