When i directly run your given code in diffrent envoironments i have received following results which are expectedly only toggles axis. It might be resulting due to your installs.