Skip to content

Commit

Permalink
minor coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed Aug 10, 2024
1 parent 56e205c commit c5ba92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jcvi/graphics/landscape.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def draw_depth(
continue
x = starts[chrom] + pos
# TODO: Remove this special case
color = "tomato" if name == "II" else "gray"
color = {"II": "tomato", "low qual": "g"}.get(name, "gray")
ax.plot((x, x), (0, maxdepth), "-", lw=2, color=color)

# Add an arrow to the right of the plot, indicating these are median depths
Expand Down

0 comments on commit c5ba92b

Please sign in to comment.