@@ -390,7 +390,7 @@ def read_cache(self):
390390 for url , (fn , x , y ) in cache .items ():
391391 if not os .path .isabs (fn ):
392392 cache [url ] = (self .in_cache_dir (fn ), x , y )
393-
393+
394394 # If any files are deleted, drop them from the cache
395395 for url , (fn , _ , _ ) in cache .items ():
396396 if not os .path .exists (fn ):
@@ -525,7 +525,7 @@ def get_sample_data(self, fname, asfileobj=True):
525525 msg = 'file %s not in cache; received %s when trying to retrieve' \
526526 % (fname , error )
527527 raise KeyError (msg )
528-
528+
529529 fname = cached [0 ]
530530
531531 if asfileobj :
@@ -1627,11 +1627,13 @@ def quad2cubic(q0x, q0y, q1x, q1y, q2x, q2y):
16271627 return mlab .quad2cubic (q0x , q0y , q1x , q1y , q2x , q2y )
16281628
16291629def align_iterators (func , * iterables ):
1630- """
1631- This generator takes a bunch of iterables that are ordered by func
1632- It sends out ordered tuples (func(row), [rows from all iterators matching func(row)])
1633-
1634- It is used by mlab.recs_join to join record arrays
1630+ """
1631+ This generator takes a bunch of iterables that are ordered by func
1632+ It sends out ordered tuples:
1633+
1634+ (func(row), [rows from all iterators matching func(row)])
1635+
1636+ It is used by :func:`matplotlib.mlab.recs_join` to join record arrays
16351637 """
16361638 class myiter :
16371639 def __init__ (self , it ):
0 commit comments