Hi,
I'm wanting to plot a contour over an image. The call to contour with only
one level set results in two distinct segments, one a closed inner segment
and one an open outer segment. I used to be able to do something like:
c = ax.contour(image, level=[value], origin='lower')
c.collections[0].set_edgecolors(['w','None'])
and the closed inner segment didn't display. Now it doesn't work anymore.
I'm not finding any way to access separate segments. Any suggestions?
Thanks,
Jon
--
Jonathan D. Slavin (he/him)
Astrophysicist - High Energy Astrophysics Division
Center for Astrophysics | Harvard & Smithsonian
Office: (617) 496-7981 | Cell: (781) 363-0035
60 Garden Street | MS 04 | Cambridge, MA 02138