Skip to content

Commit

Permalink
Merge pull request #19 from GregoryAshton/add-labels-by-default
Browse files Browse the repository at this point in the history
Add labels by default
  • Loading branch information
mattpitkin authored May 2, 2018
2 parents 33561c2 + 6e4fe3f commit 2a3d42e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion psrqpy/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,9 @@ def ppdot(self, intrinsicpdot=False, excludeGCs=False, showtypes=[], showGCs=Fal
markertypes[thistype]['markerfacecolor'] = 'none'
if 'linestyle' not in markertypes[thistype]:
markertypes[thistype]['linestyle'] = 'none'
typehandle, = ax.loglog(periods[typeidx], pdots[typeidx], **markertypes[thistype])
typehandle, = ax.loglog(periods[typeidx], pdots[typeidx],
label=typelegstring[thistype],
**markertypes[thistype])
if thistype in typelegstring:
handles[typelegstring[thistype]] = typehandle
else:
Expand Down

0 comments on commit 2a3d42e

Please sign in to comment.