I need your help once again
There’s some strange behaviour of y-ticks while changing from 2-dimensional x_range-factors to 1-dimensional.
The code is here - https://pastebin.com/3wMFknmY.
It works good when you click the 1st button (1d-factors) and then the 2nd one (2d-factors), but if you click on the 1st button again, you’ll see that y-ticks dissappeared and in console.log there error “TypeError: t is undefined” will appear, on the next iteration you’ll see an additional error.
This can be seen here - https://gifyu.com/image/dJuG.
Could you help me please with that?