Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
25121: keep_alpha=False (Explicit is better than implicit.)
Browse files Browse the repository at this point in the history
  • Loading branch information
seblabbe committed Apr 12, 2018
1 parent e72b93e commit e3e3ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/graphs/generic_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -20826,7 +20826,7 @@ def graphviz_string(self, **options):
col = edge_options['color']
if isinstance(col, (tuple, list)):
# convert RGB triples in hexadecimal
col = str(to_hex(col, False))
col = str(to_hex(col, keep_alpha=False))

dot_options.append('color = "%s"' % col)

Expand Down

0 comments on commit e3e3ff4

Please sign in to comment.