Commit 296855b0 by Tiago Peixoto

### Include documentation for the "pie" vertex shape in graph_draw()

parent 9ecface6
 ... @@ -551,7 +551,7 @@ def graph_draw(g, pos=None, vprops=None, eprops=None, vorder=None, eorder=None, ... @@ -551,7 +551,7 @@ def graph_draw(g, pos=None, vprops=None, eprops=None, vorder=None, eorder=None, | | "double_circle", "double_triangle", | | | | | "double_circle", "double_triangle", | | | | | "double_square", "double_pentagon", | | | | | "double_square", "double_pentagon", | | | | | "double_hexagon", "double_heptagon", | | | | | "double_hexagon", "double_heptagon", | | | | | "double_octagon". | | | | | "double_octagon", "pie". | | | | | Optionally, this might take a numeric value | | | | | Optionally, this might take a numeric value | | | | | corresponding to position in the list above. | | | | | corresponding to position in the list above. | | | +---------------+---------------------------------------------------+------------------------+----------------------------------+ +---------------+---------------------------------------------------+------------------------+----------------------------------+ ... @@ -604,6 +604,12 @@ def graph_draw(g, pos=None, vprops=None, eprops=None, vorder=None, eorder=None, ... @@ -604,6 +604,12 @@ def graph_draw(g, pos=None, vprops=None, eprops=None, vorder=None, eorder=None, | | the value passed is a string, it is interpreted | or ``str`` | | | | the value passed is a string, it is interpreted | or ``str`` | | | | as an image file name to be loaded. | | | | | as an image file name to be loaded. | | | +---------------+---------------------------------------------------+------------------------+----------------------------------+ +---------------+---------------------------------------------------+------------------------+----------------------------------+ | pie_fractions | Fractions of the pie sections for the vertices if | list of ``int`` or | ``[0.75, 0.25]`` | | | ``shape=="pie"``. | ``float`` | | +---------------+---------------------------------------------------+------------------------+----------------------------------+ | pie_colors | Colors used in the pie sections if | list of strings or | ``('b','g','r','c','m','y','k')``| | | ``shape=="pie"``. | ``float``. | | +---------------+---------------------------------------------------+------------------------+----------------------------------+ .. table:: **List of edge properties** .. table:: **List of edge properties** ... ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!