3D Surface plotly date axis not rendered correctly in shiny

Hi, I'm having some problems rendering axis date correctly in python shiny with plotly surface plots.
Find here an example in shiny playground.

I also tried to explicitly do a

fig.update_layout(
            scene=dict(
                xaxis=dict(
                    type="date",
                    tickformat='%Y'
                )
            )

Note that same exact code works if I render the figure with fig.show()