Skip to content

Commit

Permalink
Merge pull request prody#1777 from jamesmkrieger/cumulFractVars_axis
Browse files Browse the repository at this point in the history
fix showCumulFractVars axis range
  • Loading branch information
jamesmkrieger authored Oct 17, 2023
2 parents a15eaf7 + f81837f commit cd4d1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prody/dynamics/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def showCumulFractVars(modes, *args, **kwargs):
fracts = calcFractVariance(modes).cumsum()
show = plt.plot(indices, fracts, *args, **kwargs)
axis = list(plt.axis())
axis[0] = 0.5
axis[0] = -0.5
axis[2] = 0
axis[3] = 1
plt.axis(axis)
Expand Down

0 comments on commit cd4d1d2

Please sign in to comment.