Ah I see - I was think about float or integer
.
Thanks for providing your code and data!
I feel the problem is related to handling the pandas DataFrame.
Lines 129-137 in your script:
for i_data in range(len(data)):
fig.plot(
x=data.loc[i_data,['longitude']],
y=data.loc[i_data,['latitude']],
style="t5c",
zvalue=data.loc[i_data, ['num_triggered']],
pen="2p,+z",
cmap=True,
)
You can access a column of a pandas DataFrame in the way dataframe.columnname. Then you can go through this column using the index of your loop.
for i_data in range(len(data)):
fig.plot(
x=data.longitude[i_data],
y=data.latitude[i_data],
style="t0.5c", # Probably typo, before it was "t5c"
zvalue=data.num_triggered[i_data],
pen="2p,+z",
cmap=True,
)
If I change your code in that way I get this output figure:
