Added encoder for np number formats to enable json export.
import pathpyG as pp
# working
t = pp.TemporalGraph.from_edge_list([('a','b',5),('b','c',6)])
pp.plot(t)
# working
t = pp.TemporalGraph.from_edge_list([(0,1,5.),(1,2,6.)])
pp.plot(t)
# now also working
t = pp.TemporalGraph.from_edge_list([(0,1,5),(1,2,6)])
pp.plot(t)
Added encoder for np number formats to enable json export.