Skip to content

Instantly share code, notes, and snippets.

View rookiedk's full-sized avatar

Deepika Anandakrishnan rookiedk

  • Toronto, Canada
View GitHub Profile
@bagrow
bagrow / annotate_with_graphlayout.py
Created December 10, 2015 13:42
Improve the placement of labels on a busy scatterplot
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# annotate_with_graphlayout.py
# Jim Bagrow
# Last Modified: 2015-12-09
"""
Rough improvement of scatter point label placement using
force-directed graph layout.