Skip to content

Commit

Permalink
always run fig.tight_layout() in fes_2d
Browse files Browse the repository at this point in the history
It was previously only run if the scale was also made, but it seems more logical to always do it (or provide a separate flag for it)
  • Loading branch information
theavey authored Jun 21, 2018
1 parent 918df00 commit 5500179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paratemp/coordinate_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def fes_2d(self, x, y, temp=None, ax=None, bins=None,
ax.set_aspect('equal', 'box')
if scale:
fig.colorbar(contours, label='kcal / mol')
fig.tight_layout()
fig.tight_layout()
return delta_g, (xmids, ymids), contours, fig, ax

def update_num_frames(self, silent=False):
Expand Down

0 comments on commit 5500179

Please sign in to comment.