VoigtLab / dnaplotlib

DNA plotting library for Python
MIT License
288 stars 73 forks source link

Arc height not changing with regulation type connection #15

Closed michael1788 closed 6 years ago

michael1788 commented 6 years ago

In the example of the recombinase_not_gate.py, I'm trying to get the arc to be lower because they overlay the sequence from above in the figure for sequences longer than in the example.

However, despite changing the arc_height argument, the height isn't changing, and I haven't been successful at finding why. When changing arc_height in the xnor_truthtable.py example, it's working.

I'm using python 3.6.1 and matplotlib 2.0.2

Dyex719 commented 6 years ago

Try changing the values of the attributes arc_height_start and arc_height_end when you are creating the arc. (https://github.com/VoigtLab/dnaplotlib/blob/master/gallery/recombinase_not_gate/recombinase_not_gate.py#L237#L238) Notice how if I change the arc_height_start and arc_height_end values of arc2 from 10 and 10 to 15 and 15, the arc moves down slightly.

1

2

I'm using python 3.6.0 and matplotlib 2.0.2 Hope this helps :)