Skip to content

Commit

Permalink
mpl -- cleaner way to display FringePairs
Browse files Browse the repository at this point in the history
no distinction between first and last now
  • Loading branch information
trmrsh committed May 24, 2021
1 parent 923a624 commit 3b958c3
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions hipercam/mpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,14 +565,10 @@ def pFringePair(axes, fpair):
"""

a1, = axes.plot(
[fpair.x1,fpair.x2], [fpair.y1,fpair.y2], 'k', lw=4
return axes.plot(
[fpair.x1,fpair.x2], [fpair.y1,fpair.y2],
mfc='b', color='f', marker='o', lw=4
)
a2, = axes.plot(fpair.x1, fpair.y1, 'or')
a3, = axes.plot(fpair.x2, fpair.y2, 'ob')

return [a1,a2,a3]


def pCcdFringePair(axes, ccdFringePair, animated=False, previous=None):
"""Plots a :class:`CcdFringePair` object, returning references to the plot
Expand Down

0 comments on commit 3b958c3

Please sign in to comment.