ivy.vis.alignment module
interactive viewers for trees, etc. using matplotlib
-
class
ivy.vis.alignment.
Alignment
(fig, rect, *args, **kwargs)[source]
Bases: matplotlib.axes._axes.Axes
matplotlib.axes.Axes subclass for rendering sequence alignments.
-
center_x
(x, offset=0.3)[source]
-
center_y
(y)[source]
-
highlight_find
(substr)[source]
-
home
()[source]
-
plot_aln
()[source]
-
scroll
(x, y)[source]
-
select_rectangle
(e0, e1)[source]
-
zoom
(x=0.1, y=0.1, cx=None, cy=None)[source]
Zoom the x and y axes in by the specified proportion of the
current view.
-
zoom_cxy
(x=0.1, y=0.1, cx=None, cy=None)[source]
Zoom the x and y axes in by the specified proportion of the
current view, with a fixed data point (cx, cy)
-
class
ivy.vis.alignment.
AlignmentFigure
(aln, name=None, div=0.25, overview=True)[source]
-
static
axes_enter
(e)[source]
-
static
axes_leave
(e)[source]
-
connect_events
()[source]
-
initialize_subplots
(overview=False)[source]
-
static
onbuttonrelease
(e)[source]
-
static
onclick
(e)[source]
-
static
ondrag
(e)[source]
-
static
onkeypress
(e)[source]
-
static
onpick
(e)[source]
-
static
onscroll
(e)[source]
-
static
onselect
(estart, estop)[source]
-
selected
-
show
()[source]
-
zoom
(factor=0.1)[source]
Zoom both axes by factor (relative display size).
-
class
ivy.vis.alignment.
UpdatingRect
(xy, width, height, angle=0.0, **kwargs)[source]
Bases: matplotlib.patches.Rectangle