Browse Source

fix: typo in comment

pull/212/head
mingrammer 4 years ago
parent
commit
37129f46b9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      diagrams/__init__.py

+ 1
- 1
diagrams/__init__.py View File

@@ -459,7 +459,7 @@ class Edge:


if label: if label:
# Graphviz complaining about using label for edges, so replace it with xlabel. # Graphviz complaining about using label for edges, so replace it with xlabel.
# Update: xlabel option causes the misaliend label position: https://github.com/mingrammer/diagrams/issues/83
# Update: xlabel option causes the misaligned label position: https://github.com/mingrammer/diagrams/issues/83
self._attrs["label"] = label self._attrs["label"] = label
if color: if color:
self._attrs["color"] = color self._attrs["color"] = color


Loading…
Cancel
Save