This is a repurposing of previous code to provide visualizations of the cover tree algorithm using Mathbox 2 (code snippets due to @znah).
Run the example on the nbviewer service.
Make sure to put these files in your path:
%export PYTHONPATH=$PYTHONPATH:yourdirectory
Usage (see the demo file):
%python test_covertree.py