Pārlūkot izejas kodu

fix: typo in comment

pull/212/head
mingrammer pirms 4 gadiem
vecāks
revīzija
37129f46b9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      diagrams/__init__.py

+ 1
- 1
diagrams/__init__.py Parādīt failu

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

if label:
# 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
if color:
self._attrs["color"] = color


Notiek ielāde…
Atcelt
Saglabāt