Game of life example broken?

Hi,

I’ve been implementing my own game of life and saw that there was an example for holoviews:
https://holoviews.org/gallery/apps/bokeh/game_of_life.html

This example does absolutely nothing for me though. I’ve been trying to figure out why it doesn’t work, but there seems to be more than one problem. start=False in the add_periodic_callback() call looks like one. Counter is reset every time, and I can’t figure out why… Tap never generates valid x and y values to the update function.

Anyone else who can make it work?

I can’t get it to work either.

If you run in a notebook, you can do the following:

Add a variable to the callback:

callback = pn.state.add_periodic_callback(advance, period=50, start=False)

panel.servable('Game of Life')

Do you set up.

And run callback.start() in the next cell.

I changed to start=True, but there are still many problems in the example.

I upgraded to the most recent release of Holoviews and now it is working for me.

It does? Not for me!

I run:
holoviews 1.15.3

I’ve tested chrome and firefox.

Which release are you testing? And did you use the code from the link in my original post, but just changed start=True?

Oh! I was on a machine with 1.14.8 where it was working. I just tried on a machine with 1.15.2 and it did not work.

… I just upgraded that other machine to 1.15.3, and now it no longer works.