Skip to content

Commit

Permalink
Add params
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed Apr 28, 2024
1 parent f8c4d41 commit 522b689
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions jcvi/graphics/landscape.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import sys

from collections import Counter, OrderedDict, defaultdict
from typing import Optional

import numpy as np

Expand All @@ -22,17 +23,17 @@
from ..utils.cbook import human_size, autoscale

from .base import (
plt,
Rectangle,
CirclePolygon,
savefig,
ticker,
Rectangle,
adjust_spines,
human_readable_base,
latex,
markup,
set_human_axis,
normalize_axes,
adjust_spines,
plt,
savefig,
set_human_axis,
ticker,
)


Expand Down Expand Up @@ -269,14 +270,14 @@ def mosdepth(args):
def draw_depth(
root,
ax,
bed,
chrinfo={},
defaultcolor="k",
sepcolor="w",
ylim=100,
logscale=False,
title=None,
subtitle=None,
bed: Bed,
chrinfo: dict = {},
defaultcolor: str = "k",
sepcolor: str = "w",
ylim: int = 100,
logscale: bool = False,
title: Optional[str] = None,
subtitle: Optional[str] = None,
):
"""Draw depth plot on the given axes, using data from bed
Expand Down

0 comments on commit 522b689

Please sign in to comment.