G = Graph(1) G.layout(pos={0:(0,0)},save_pos=True) show(G) #This fails since <sage.rings.integer.Integer> is not serializable by python serializer
G = Graph(1) G.layout(pos={0:(float(0),float(0))}) show(G) #This succeeds since python floats are serializable