Skip to content

Commit f5fd3e3

Browse files
committed
Added quickplot colour attribute to readme.
1 parent 069e753 commit f5fd3e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
gn_log = gn_log.ignore("\.py$",ignoreif = "no match")
2222

2323
gn_net = gn_log.network("author/file")
24-
gn_net.quickplot("plot.pdf", layout = "spring")
24+
gn_net.quickplot("plot.pdf", layout = "spring", colours = "simple")
2525

2626
This snippet imports ``gitnet``, creates a ``CommitLog`` from our local repository, uses a regular expression to ignore files with names that do not end with ``.py``, creates a ``MultiGraphPlus`` object using presets for a bipartite author/file network, and saves a basic visualization of the network. (By default, author nodes are coloured white and python files are coloured light red.) The result looks like this:
2727

@@ -163,4 +163,3 @@ We appreciate any comments from developers and researchers who stumble upon our
163163
- Include remote log extraction. One of the biggest caveats of gitnet is that you have to spend a significant amount of time downloading large projects.
164164
- Include additional export options for users of additional visualization packages, and who want to export dynamic network data.
165165
- Include additional custom classes for more VCS types and mailing lists.
166-
- Better quickplot visualizations, with default colours and optional labels.

0 commit comments

Comments
 (0)