-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Describe the bug
Calling plot_2d without chosing which params to plot generically seems to error as it includes logL, nlive and logLbirth, which typically don't play nicely with 2d KDEs
To Reproduce
Using twin_gaussian example from PCLite repo chains (using anesthetic 2.3.0 installed via pip)
import anesthetic as ns
from matplotlib import pyplot as plt
samples=ns.read_chains("chains/twin_gaussian")
#fine because you force it to be scatters
samples.plot_2d(kinds=dict(upper="scatter_2d",lower='scatter_2d'))
#errors due to triangulation errors
samples.plot_2d()
Expected behavior
Default behavior should be all params but not nlive, logl and logl_birth.
Additional context
Might be related to the previous change wrt integer axis names
Metadata
Metadata
Assignees
Labels
No labels