Skip to content

Commit 84ada12

Browse files
committed
Fixed bug in makeplot() that prevented extracted peak positions from being shown when no reference peak locations are given.
1 parent bc91724 commit 84ada12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

diffpy/srmise/applications/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def comparepositions(ppe, ip=None, **kwds):
105105
if ip is not None:
106106
plt.ylim(base+yideal, base+yext)
107107
else:
108-
plt.ylim(base+yideal, base)
108+
plt.ylim(base, base+yext)
109109

110110
for tick in ax.yaxis.get_major_ticks():
111111
tick.tick1line.set_markersize(0)

0 commit comments

Comments
 (0)