Marching squares: Difference between revisions
m
→{{header|Python}}
Line 46:
# Find contours at a constant value of 0.1 and extract the first one found
contours = round(measure.find_contours(example, 0.1))[0]
print('[', ', '.join([str((p[1],
</lang>{{out}}
<pre>
[ (3.0,
</pre>
|