Skip to content

Commit

Permalink
debug title
Browse files Browse the repository at this point in the history
  • Loading branch information
Xu, Beisi authored and Xu, Beisi committed Jul 12, 2023
1 parent f1481a4 commit 7cacf3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deeptools/plotHeatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ def autobreaklinetitle(title,sep="[-_,.]",lmax=15):
if len(tmp) > lmax:
newtitle += tmp + "\n"
tmp = ""
else:
tmp += "-"
return newtitle

def addProfilePlot(hm, plt, fig, grids, iterNum, iterNum2, perGroup, averageType, plot_type, yAxisLabel, color_list, yMin, yMax, wspace, hspace, colorbar_position, label_rotation=0.0):
Expand Down
2 changes: 2 additions & 0 deletions deeptools/plotProfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ def autobreaklinetitle(title,sep="[-_,.]",lmax=15):
if len(tmp) > lmax:
newtitle += tmp + "\n"
tmp = ""
else:
tmp += "-"
return newtitle

def process_args(args=None):
Expand Down

0 comments on commit 7cacf3c

Please sign in to comment.