Skip to content

Commit

Permalink
fix #889 (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpryan79 authored Dec 2, 2019
1 parent 07a821b commit 37229d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
3.3.2

* Fixed --yAxisLabel in plotProfile (issue #889)

3.3.1

* Fixed `--plotNumbers` not working in `plotCorrelation`. This was issue #838.
Expand Down
2 changes: 2 additions & 0 deletions deeptools/plotProfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,8 @@ def plot_profile(self):
ticks[0].label1.set_horizontalalignment('left')
ticks[-1].label1.set_horizontalalignment('right')

if first and self.y_axis_label != '':
ax.set_ylabel(self.y_axis_label)
if first and self.plot_type not in ['heatmap', 'overlapped_lines']:
ax.legend(loc=self.legend_location.replace('-', ' '),
ncol=1, prop=self.font_p,
Expand Down

0 comments on commit 37229d7

Please sign in to comment.