Skip to content

Commit f5fba14

Browse files
committed
fix the color band order bug
1 parent c1d5f47 commit f5fba14

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dotplot/annotation_bands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def draw_heatmap(colors: Union[pd.DataFrame, pd.Series],
8888
:return:
8989
"""
9090
colors = colors.copy()
91-
if index_order is not None:
92-
index_order = list(index_order)[::-1]
91+
# if index_order is not None:
92+
# index_order = list(index_order)[::-1]
9393
colors, labels = _process_colors(colors, index_order)
9494
matrix, cmap = _color_list_to_matrix_and_cmap(colors, axis=axis)
9595
axes.pcolormesh(matrix, cmap=cmap, **kwargs)

0 commit comments

Comments
 (0)