Skip to content

Graph plotting: edge colors #21053

@jm58660

Description

@jm58660
mannequin

This simple patch allows using edge_color as a default color together with edge_colors. To test try

g = graphs.PetersenGraph()
g.show(edge_color='red', edge_colors={'blue': [(1,2), (6,8)], 'green': [(5,8)]})

This is a part of #13827.

CC: @paulmasson

Component: graph theory

Author: Jori Mäntysalo

Branch/Commit: 4b57914

Reviewer: Paul Masson

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions