Roth-Lab/pyclone

Modify x label rotations in parallel_coordinates?

wangshun1121 opened this issue · 0 comments

Well, samples of names are mixed on x-labels in my parallel_coordinates like this:

截屏2019-11-04下午5 03 22

I modified codes of https://github.com/aroth85/pyclone/blob/d98f579bd123b4af3467d27fa68f14feefe18f0a/pyclone/post_process/plot/clusters.py#L197 and https://github.com/aroth85/pyclone/blob/d98f579bd123b4af3467d27fa68f14feefe18f0a/pyclone/post_process/plot/loci.py#L205 , setting:

 ax.set_xticklabels(samples,rotation=90)

and got following x-labels I want:

截屏2019-11-04下午5 07 21

I think these two lines can be modified as I shown above, or make other rotation values like 45?