Finished tweaking custom_plot. auto_poly_generate still feels like a hack and is full of contrived operations.