Plotting difference in CoCalc and local Sage installation

asked 0 years ago

MarcusS gravatar image

updated 0 years ago

slelievre gravatar image

I try to figure out why plots in SageMath look so much nicer in CoCalc than in my local installation of SageMath.

For instance, when I call

elms = [0, 1, 2, 3, 4, 12, 11, 13, 14]
rels = [[0, 1], [0, 2], [0, 3], [0, 4], [1, 14], [1, 13], [2, 14], [2, 12], [3, 13], [3, 11], [4, 12], [4, 11]]
P = Poset((elms, rels))
P.plot()

then in CoCalc, there is more space around the image. Also, as few edges as possible intersect. Horizontal spacing is also improved.

Is this because of a graphics package in CoCalc that is not preinstalled with a default Sage installation?

Thanks in advance!

Preview: (hide)