Skip to content

Commit a9f6940

Browse files
committed
DOC(IMG): update Legend.SVG
1 parent dd31e81 commit a9f6940

File tree

2 files changed

+23
-33
lines changed

2 files changed

+23
-33
lines changed

docs/source/images/GraphtikLegend.svg

Lines changed: 19 additions & 33 deletions
Loading

graphtik/plot.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,10 @@ def legend(filename=None, show=None, jupyter_render: Mapping = None):
366366
_monkey_patch_for_jupyter(pydot)
367367

368368
## From https://stackoverflow.com/questions/3499056/making-a-legend-key-in-graphviz
369+
# Render it manually with these python commands, and remember to update result in git:
370+
#
371+
# from graphtik.plot import legend
372+
# legend('docs/source/images/GraphtikLegend.svg')
369373
dot_text = """
370374
digraph {
371375
rankdir=LR;

0 commit comments

Comments
 (0)