Fixed bug where axis wouldn't clear

Fixed bug where axis showing traces wouldn't clear