sheynkman-lab / biosurfer

"Surf" the biological network, from genome to transcriptome to proteome and back to gain insights into human disease biology.
MIT License
0 stars 0 forks source link

How is the width of the y axis labels set in Isoplot.draw? #19

Closed gsheynkman closed 3 years ago

gsheynkman commented 3 years ago

https://github.com/sheynkman-lab/biosurfer/blob/496be781fa0b3f086e9a9d7aa43a6f7e191378c1/isomodules/isoimage.py#L262

I was looking at the code in which the Y axis label is set. I was wondering how the physical Width of the Y axis label is determined? If you submit a longer string will the left-hand side of the canvas expand in response?

jsaquing commented 3 years ago

I think it's pretty much based on the width of the longest Y axis tick label. At some point I'd like to look into aligning a table to the Y axis ticks so that we can easily display multiple columns of info for each isoform track.

gsheynkman commented 3 years ago

Thanks!