fixed bug where axes ranges would not update