Ask Your Question

Revision history [back]

My understanding is that the talk option overrides the color and the size of the vertices (to generate images that can be added in slides). You should set vertex_color and vertex_size yourself, and disable the talk option.

On my Sage install, the following provides something acceptable:

Gr=G.plot(layout='spring', vertex_labels=True, vertex_color='white', vertex_size=4500, figsize=20)

My understanding is that the talk option overrides the color and the size of the vertices (to generate images that can be added in slides). slides), see the documentation of the talk option in https://doc.sagemath.org/html/en/reference/plotting/sage/graphs/graph_plot.html

You should set vertex_color and vertex_size yourself, and disable the talk option.

On my Sage install, the following provides something acceptable:

sage: Gr=G.plot(layout='spring', vertex_labels=True, vertex_color='white', vertex_size=4500, figsize=20)

My understanding is that the talk option overrides the color and the size of the vertices (to generate images that can be added in slides), see the documentation of the talk option in https://doc.sagemath.org/html/en/reference/plotting/sage/graphs/graph_plot.html

You should set vertex_color and vertex_size yourself, and disable the talk option.

On my Sage install, the following provides something acceptable:

sage: Gr=G.plot(layout='spring', vertex_labels=True, vertex_color='white', vertex_size=4500, figsize=20)

(as you can see, your vertex_color='black' option was preempted by the talk=True option)