Denver Mayor Michael Hancock on Tuesday signed into law an ordinance raising the local marijuana tax to fund affordable housing.