Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Tickfont undefined error

I upgraded to 1.29.0 and started getting error:

TypeError: Cannot read property ‘size’ of undefined
at Object.axes.doTicks (axes.js:1709)
at axes.js:1661
at Object.lib.syncOrAsync (index.js:313)
at Object.axes.doTicks (axes.js:1658)
at drawAxes (plot_api.js:291)
at Object.lib.syncOrAsync (index.js:313)
at Object.Plotly.plot (plot_api.js:383)
at Object.Plotly.redraw (plot_api.js:571)
at onUpdate (plotlyDirective.ts:404)
at plotlyDirective.ts:425

axes.js:
1708: if(ax.ticks === ‘outside’ || ax.showline) {
1709: labelStandoff += 0.2 * ax.tickfont.size;
1710: }

I didn’t see any breaking changes in CHANGELOG.
Anyone got this error too?

we’ll be fixed in https://github.com/plotly/plotly.js/pull/1910

1 Like

While I was extracting working sample I found it already reported

fixed on https://cdn.plot.ly/plotly-1.29.1.min.js