Tracebacks during doc build

Hi,
I noticed several tracebacks during doc building, so I'm adding them
here so we can get them fixed; let's start:

reading sources... [ 54%] examples/pylab_examples/geo_demo
/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/sphinxext/plot_directive.p
y:322: PlotWarning: Exception running plot
/home/morph/deb/build-area/matplotlib-1.0.1-test/doc/mpl_examples/pyla
b_examples/geo_demo.py
Traceback (most recent call last):
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/sphinxext/plot_directive.py",
line 319, in render_figures
    run_code(plot_path, function_name, plot_code, context=context)
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/sphinxext/plot_directive.py",
line 230, in run_code
    "__plot__", fd, fname, ('py', 'r', imp.PY_SOURCE))
  File "geo_demo.py", line 10, in <module>
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/pyplot.py",
line 658, in subplot
    a = fig.add_subplot(*args, **kwargs)
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/figure.py",
line 687, in add_subplot
    a = subplot_class_factory(projection_class)(self, *args, **kwargs)
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/axes.py",
line 8380, in __init__
    self._axes_class.__init__(self, fig, self.figbox, **kwargs)
  File "custom_projection_example.py", line 33, in __init__
TypeError: expected string or Unicode object, NoneType found

  warnings.warn(s, PlotWarning)

···

---

reading sources... [ 57%] examples/pylab_examples/image_demo2
/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/sphinxext/plot_directive.py:322:
PlotWarning: Exception running plot
/home/morph/deb/build-area/matplotlib-1.0.1-test/doc/mpl_examples/pylab_examples/image_demo2.py
Traceback (most recent call last):
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/sphinxext/plot_directive.py",
line 319, in render_figures
    run_code(plot_path, function_name, plot_code, context=context)
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/sphinxext/plot_directive.py",
line 230, in run_code
    "__plot__", fd, fname, ('py', 'r', imp.PY_SOURCE))
  File "image_demo2.py", line 9, in <module>
IOError: [Errno 2] No such file or directory:
'/home/morph/deb/build-area/matplotlib-1.0.1-test/sampledata/ct.raw'

  warnings.warn(s, PlotWarning)

(see other email about missing ct.raw in sampledata tarball)

---

reading sources... [ 61%] examples/pylab_examples/loadrec
/usr/lib/pymodules/python2.6/xlwt/Cell.py:17: DeprecationWarning:
struct integer overflow masking is deprecated
  return pack('<5HL', 0x00FD, 10, self.rowx, self.colx, self.xf_idx,
self.sst_idx)
/usr/lib/pymodules/python2.6/xlwt/Cell.py:225: DeprecationWarning:
struct integer overflow masking is deprecated
  pieces.append(pack('<4H', 0x00BD, 6 * nc + 6, rowx, icolx))
/usr/lib/pymodules/python2.6/xlwt/Cell.py:227: DeprecationWarning:
struct integer overflow masking is deprecated
  pieces.append(pack('<H', lastcolx))

---

reading sources... [ 81%] examples/units/artist_tests
/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/sphinxext/plot_directive.p
y:322: PlotWarning: Exception running plot
/home/morph/deb/build-area/matplotlib-1.0.1-test/doc/mpl_examples/unit
s/artist_tests.py
Traceback (most recent call last):
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/sphinxext/plot_directive.py",
line 319, in render_figures
    run_code(plot_path, function_name, plot_code, context=context)
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/sphinxext/plot_directive.py",
line 230, in run_code
    "__plot__", fd, fname, ('py', 'r', imp.PY_SOURCE))
  File "artist_tests.py", line 30, in <module>
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/collections.py",
line 836, in __init__
    self.set_segments(segments)
  File "/home/morph/deb/build-area/matplotlib-1.0.1-test/build/lib.linux-x86_64-2.6/matplotlib/collections.py",
line 845, in set_segments
    seg = np.asarray(seg, np.float_)
  File "/usr/lib/pymodules/python2.6/numpy/core/numeric.py", line 261,
in asarray
    return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence.

  warnings.warn(s, PlotWarning)

---

Severals:

* (WARNING/2) Block quote ends without a blank line; unexpected unindent.
* (ERROR/3) Unexpected indentation.
* (WARNING/2) malformed hyperlink target.
* WARNING: document isn't included in any toctree
* WARNING: unusable reference target found

Cheers,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi