dfm / dfm/corner.py

core dump segmentation fault

Open
#60 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
576
Forks
234
PR merge metrics
No merged PRs in 30d

Description

I have been trying to use this library to plot my mcmc results. I have 26 free parameters that have been measured by emcee but when I tried to plot them just before the script return fig I got the core dump error message (I tested where the code would crash). How could I solve the problem. Wouldn't it be more convenient and lighter if you use
gs = gridspec.GridSpec(K, K)
instead of
fig, axes = pl.subplots(K, K, figsize=(dim, dim))
to make subplots?

Thanks in advance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the plotting failure with 26 free parameters and the code path just before the script returns the figure. Compare the reported pl.subplots(K, K, figsize=(dim, dim)) setup with the proposed gridspec.GridSpec(K, K) approach; done means identifying the cause of the core dump and confirming a working plotting configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
matplotlib, python
Domain
data-visualization
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.