#9211: graph vertices cut off
----------------------------+-----------------------------------------------
   Reporter:  jason         |          Owner:  jason, mvngu, ncohen, rlm
       Type:  defect        |         Status:  needs_review             
   Priority:  major         |      Milestone:  sage-4.7.2               
  Component:  graph theory  |       Keywords:                           
Work_issues:                |       Upstream:  N/A                      
   Reviewer:                |         Author:  Jason Grout              
     Merged:                |   Dependencies:                           
----------------------------+-----------------------------------------------

Old description:

> 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`.

New description:

 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`.

--

Comment(by ppurka):

 I am running it on x86_64 Linux. The errors were because of the additional
 'clip' option introduced in the patches. Attaching a fix for the doctests.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9211#comment:23>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to