R Different Axis Label Format Depending On Value Using Plotly Stack Overflow

R Different Axis Label Format Depending On Value Using Plotly Stack Overflow