✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

Updatemenus 'zaxis.type': 'log' throws exception (dropdown to switch log/linear zaxis scale) in Plotly.JS

https://schagerer.com/sim/?id=1101

var updatemenus=[
    {
        buttons: [
            {
                args: [
					{
						'zaxis.type': 'linear'
					}
				],
                label: 'Linear',
                method: 'relayout'
            },
            {
                args: [
					{
						'zaxis.type': 'log'
					}
				],
                label:'Log',
                method:'relayout'
            }
        ],
        direction: 'down',
        //pad: {'r': 10, 't': 10},
        showactive: true,
        type: 'dropdown'
        //x: 0.1,
        //xanchor: 'left',
        //y: 1.1,
        //yanchor: 'top'
    }
]

throws

min_1584.js:61 Uncaught TypeError: Cannot read property ‘type’ of undefined

Please Help