open2c / coolpuppy

A versatile tool to perform pile-up analysis on Hi-C data in .cool format.
MIT License
77 stars 11 forks source link

[BUG]Labels messed up in plot_stripes lineplot=Treu #153

Closed zhaoyycrow closed 1 month ago

zhaoyycrow commented 2 months ago

The labels are overlapping and impossible to see in plotpup.plot_stripes with line_plot=True. The example in the notebook shows this problem. I reproduce the plot with other data and got the same issue.

Below is the figure in the walkthrough image

By the way, it is possible to specify the min/max of the line plot? Thank you!

efriman commented 2 months ago

Thanks for pointing this out. I can't figure out why, it's a problem of recent matplotlib. For now you can solve it by downgrading to matplotlib==3.7.5

I will try to solve it further on.

efriman commented 1 month ago

Note that this is fixed in the latest commit