New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable thickness-option in graph plotting #20035
Comments
New commits:
|
Commit: |
comment:3
I am wondering about the name: Nathann |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
Replying to @nathanncohen:
True. Changed. |
This comment has been minimized.
This comment has been minimized.
comment:6
Okay, cool ! I just noticed that the list of arguments is also available in GenericGraph.plot. That's an ugly copy/paste, that's for sure... I'm hesitant to remove it and link toward the auto-generated doc of the Nathann |
comment:7
(adding Anne in case she cares: she mentionned the options of Graph.plot some time ago) |
comment:8
Replying to @nathanncohen:
I think that #13827 is what we really need. This is phase zero, enabling features that are already there. |
comment:9
What I recently wished existed was the following: internally the vertices are labelled by something. I wanted to be able to give a function f from the internal labels to some other labels (for printing). The printing labels would not necessarily need to distinct for all vertices (i.e. it could be a non-injective map). If x is an internal label, the plot would print f(x) next to the label. Would this be easy to add? |
comment:10
Yes it is. This kind of code would be very similar to the other options already available, so you need not fear to hit a block if you give it a try. |
comment:11
Ticket #15206 is about non-injective relabeling. Please add your code under it. |
comment:12
Frédéric, got some minutes? This one is should be trivial. |
Reviewer: Paul Masson |
comment:13
Eight doctests failed: please fix them. Also, in the documentation "tickness" needs to be corrected to "thickness". |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
OK, now the errors seem to be gone. |
comment:17
Doctests pass. Documentation builds. Example runs as expected. |
Changed branch from u/jmantysalo/graph_plotting_thickness to |
Changed commit from |
This trivial patch allows
thickness
-option in graph plotting. It seems to have forgotten from the option list.To test try for example
CC: @anneschilling @fchapoton @slel
Component: graphics
Author: Jori Mäntysalo
Branch:
674361a
Reviewer: Paul Masson
Issue created by migration from https://trac.sagemath.org/ticket/20035
The text was updated successfully, but these errors were encountered: