Time slider not working when combining geoviews and panel

I am having a similar problem that was described here. Time slider not working when utilizing panel - Panel - HoloViz Discourse, however, that workaround seems to no longer work in my versions of panel and geoviews. Any ideas?

from datetime import datetime
import pandas as pd
import geoviews as gv
import geoviews.feature as gf
from geoviews import opts
import random
from datetime import datetime, timedelta
import panel as pn

gv.extension('bokeh')

# Set the random seed for reproducibility
random.seed(42)

# Create a list to store the data
data = []

# Define the time range (5 hours)
start_time = datetime(2023, 9, 6, 22, 0, 0)
end_time = start_time + timedelta(hours=4)

# Generate random latitudes and longitudes for each hour
while start_time <= end_time:
    for _ in range(3):  # Three points per hour
        # Generate random latitude and longitude within the CONUS bounds
        latitude = round(random.uniform(24.396308, 49.384358), 6)  # CONUS latitude bounds
        longitude = round(random.uniform(-125.000000, -66.934570), 6)  # CONUS longitude bounds

        # Append the data
        data.append([start_time, latitude, longitude])

    # Increment the time by 1 hour
    start_time += timedelta(hours=1)

# Create a DataFrame
columns = ['Time', 'Latitude', 'Longitude']
df_sel = pd.DataFrame(data, columns=columns)


def update_map():
    kdims=['Longitude','Latitude','Time']


    ds = gv.Dataset(df_sel, kdims=kdims)
    plot = (ds.to(gv.Points, ["Longitude", "Latitude"]))


    ####################### REAL TIME DATA ##########################

    map2 = (gv.tile_sources.OSM().opts(frame_width=1600, frame_height=1000) * plot.opts(size=35))
    return map2

row = pn.Row(update_map)
row

It seems to work fine for me, or am I missing something?

Interesting, could it potentially be the versions I am using, or the fact that I am running this in jupyterlab? Because when I run the time slider nothing happens to my plot.

My panel version is 1.2.1 and my geoviews version is 1.10.1

Alright never mind I’m not sure what was up yesterday, I tried everything, restarting the environment etc, but this morning it seems to want to work. Sorry for the inconvenience!