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

chromplotter.ipynb produces non-square matrix plots #3

Open
dmalzl opened this issue Sep 27, 2021 · 0 comments
Open

chromplotter.ipynb produces non-square matrix plots #3

dmalzl opened this issue Sep 27, 2021 · 0 comments

Comments

@dmalzl
Copy link
Collaborator

dmalzl commented Sep 27, 2021

The chromplotter.ipynb notebook is intended to enable the plotting of whole chromosome matrices either alone or in comparison. These matrices should be square, however, for some matplotlib versions the plot_whole_chrom_contact_matrix generates non-square heatmaps due to the tickpos setting invoking a reset of the y axis limits. This can be addressed by simply putting ax.set_ylim(xmax, xmin) after setting the ytick positions.

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