Skip to content

Commit b362825

Browse files
committed
update AnnotationBase
1 parent 14cc692 commit b362825

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

PyComplexHeatmap/annotations.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ class AnnotationBase:
5050
`legend_kws={'color_text':False}`, then, black would be the default color for the text.
5151
If the user want to use a custom color instead of black (such as blue), please set
5252
legend_kws={'color_text':False,'labelcolor':'blue'}.
53+
ylim: tuple
54+
y axis limits for the annotation when axis=1, x axis limits when axis=0.
55+
label: str
56+
label for the annotation, will be set to the axis label and the legend title if legend is True.
57+
invert_x: bool
58+
whether to invert x axis when axis=0, default is False.
59+
invert_y: bool
60+
whether to invert y axis when axis=1, default is False.
5361
plot_kws: dict
5462
other plot kws passed to annotation.plot, such as rotation, rotation_mode, ha, va,
5563
annotation_clip, arrowprops and matplotlib.text.Text for anno_label. For example, in anno_simple,

0 commit comments

Comments
 (0)