log option added back in for density plots