Why has Gentleman Jack been cancelled?

Gentleman Jack airs on the BBC and fans in the US have been catching up on HBO. The steamy TV drama follows the relationship between Anne Lister (played by Suranne Jones) and Ann Walker (Sophie Rundle). Sadly the series will not be