Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanguage committed Nov 5, 2020
1 parent ec8f44b commit ad14183
Show file tree
Hide file tree
Showing 48 changed files with 1,852 additions and 4,108 deletions.
4 changes: 4 additions & 0 deletions coolbox/core/coverage.py
Expand Up @@ -200,6 +200,10 @@ def init(self, *args, **kwargs):
self.properties = self.track_instance.properties

def plot(self, ax, chrom_region, start_region, end_region):
if hasattr(self, 'track'):
if (track_class is Arcs) or (track_class is BigWig):
# update height when plot
self.track_instance.properties['height'] = self.track.properties['height']
self.track_instance.plot(ax, chrom_region, start_region, end_region)

cov_class = type(
Expand Down
2 changes: 1 addition & 1 deletion coolbox/core/feature.py
Expand Up @@ -135,7 +135,7 @@ def __init__(self, type='fill', size=0.5):
value = type + ":" + str(size)
else:
value = 'fill'
super().__init__('type', value)
super().__init__('style', value)


class ShowDataRange(Feature):
Expand Down

0 comments on commit ad14183

Please sign in to comment.