Skip to content

graph vertices cut off #9211

@jasongrout

Description

@jasongrout

Though #7299 helped, graph vertices are still cut off.

We can turn off clipping of the matplotlib scatterplot and add some bbox_extra_artists to the savefig which takes those artists into account when calculating the bounding box (when bbox_inches='tight').


First apply attachment: trac-9211-fix_cut_vertices_in_graphs.patch and then apply attachment: trac_9211_digraph_clipping.patch to $SAGE_ROOT/devel/sage. Finally apply attachment: trac_9211-fix_doctests.patch to $SAGE_ROOT/devel/sage.

CC: @rbeezer @kcrisman @kini

Component: graph theory

Author: Jason Grout

Reviewer: Punarbasu Purkayastha

Merged: sage-4.8.alpha1

Issue created by migration from https://trac.sagemath.org/ticket/9211

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions