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

With a seqspec that has only one modality it seems like the library png plot is too short. #44

Open
detrout opened this issue Jun 25, 2024 · 0 comments

Comments

@detrout
Copy link
Contributor

detrout commented Jun 25, 2024

I tried generating some example library structure plots and for the case of a seqspec with only one modality the bar height was flattened. There was also an error message:

~/proj/seqspec/seqspec/seqspec_print.py:94: UserWarning: constrained_layout not applied because axes sizes collapsed to zero.  Try making figure larger or axes decorations smaller.
  s.savefig(o, dpi=300, bbox_inches="tight")

I was using this seqspec https://github.com/detrout/y2ave_seqspecs/blob/main/Team_7_igvf_b01_LeftCortex_13A_seqspec.yaml
with the command:

python3 -m seqspec.main print -o parse-bridge-library.png -f png Team_7_igvf_b01_LeftCortex_13A_seqspec.yaml

and got this plot.

image

With other libraries that had multiple modalities, the bar height was larger than the region length text.

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

No branches or pull requests

1 participant