Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fig keyword allows m^2 fig.axes, if m>=n sample dims. #280

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fdeugenio
Copy link

Addresses #130, for cases where one sample is a subspace of the other.

Testing code, e.g.

   import corner # etc
   data = np.random.normal(size=10000).reshape(-1, 4)
   nata = np.random.normal(size=7500).reshape(-1, 3)
   fig = corner.corner(data)
   corner.corner(nata, fig=fig, color='r')

Notes

  1. Does not check if samples make sense; in example above, data[:, k] is overplotted on nata[:, k] for k in {0, 1, 2}.
  2. May need some cleaning of the try/except statements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant