[interpolatable] Fixup drawing all contour starts in --show-all
This commit is contained in:
parent
cfdeff6357
commit
2422b22b66
@ -738,6 +738,7 @@ class InterpolatablePlot:
|
|||||||
second_pt = args[0]
|
second_pt = args[0]
|
||||||
|
|
||||||
if idx is None or i == idx:
|
if idx is None or i == idx:
|
||||||
|
cr.save()
|
||||||
first_pt = complex(*first_pt)
|
first_pt = complex(*first_pt)
|
||||||
second_pt = complex(*second_pt)
|
second_pt = complex(*second_pt)
|
||||||
length = abs(second_pt - first_pt)
|
length = abs(second_pt - first_pt)
|
||||||
@ -760,7 +761,10 @@ class InterpolatablePlot:
|
|||||||
diameter=self.corrected_start_point_size,
|
diameter=self.corrected_start_point_size,
|
||||||
color=color,
|
color=color,
|
||||||
)
|
)
|
||||||
break
|
cr.restore()
|
||||||
|
|
||||||
|
if idx is not None:
|
||||||
|
break
|
||||||
|
|
||||||
first_pt = None
|
first_pt = None
|
||||||
i += 1
|
i += 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user