bambi.interpret_plot_predictions()
fails when we condition and color by the same categorical variable
#870
Labels
bug
good first issue
If you want to contribute but are not sure where to get started, this issue is for you!
See this example
These are the problematic lines
bambi/bambi/interpret/plot_types.py
Lines 221 to 224 in 2a4f7e1
Length of
idxs
is greater thansum(idx)
. In this case we need to also sliceidxs
withidx
. But I'm not sure if that would cause issues with other scenarios.The text was updated successfully, but these errors were encountered: