GangCaoLab / CoolBox

Jupyter notebook based genomic data visualization toolkit.
https://gangcaolab.github.io/CoolBox/index.html
GNU General Public License v3.0
227 stars 37 forks source link

feature request: plot on given axes #6

Closed jksr closed 3 years ago

jksr commented 4 years ago

is it possible to plot the frame in a user defined matplotlib axes?

Nanguage commented 3 years ago

It's hard to implement this, because the frame is represent as a fig object, you can plot track on axes, but figure can not. But you can compose the frame using svg_utils, just like we do in the jointview. It can achieve this effect: https://gangcaolab.github.io/CoolBox/_gallery/joint_view.html .

I hope it's helpful.