add canvases_with function in plotting.utils