Day 35: Accidental art with scico

A few days ago, while trying to draw a nice contour plot for a paper, I accidentally discovered that when you ask the stat_density_2d function to use geom = "polygon" to draw a two dimensional kernel density estimate, it is terribly literal in how it defines polygons. If the line that defines a particular contour runs outside the plot area, it treats it as the end of the line, so the relevant polygon is closed then and there, so to speak.