GeezerVison is showing github.com — plot_directive failures · Issue #20 · matplotlib/matplotlib
plot_directive failures #20DescriptionThe sphinx plot_directive is failing on geo_demo and artist_tests, with both master and v1.0.x. Tested with sphinx-1.0.7:
/home/darren/.local/lib/python2.7/site-packages/matplotlib/sphinxext/plot_directive.py:322: PlotWarning: Exception running plot /home/darren/Projects/matplotlib/doc/mpl_examples/pylab_examples/geo_demo.py
Traceback (most recent call last):
File "/home/darren/.local/lib/python2.7/site-packages/matplotlib/sphinxext/plot_directive.py", line 319, in render_figures
run_code(plot_path, function_name, plot_code, context=context)
File "/home/darren/.local/lib/python2.7/site-packages/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/darren/.local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 658, in subplot
a = fig.add_subplot(*args, **kwargs)
File "/home/darren/.local/lib/python2.7/site-packages/matplotlib/figure.py", line 766, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/home/darren/.local/lib/python2.7/site-packages/matplotlib/axes.py", line 8397, 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
and:
/home/darren/.local/lib/python2.7/site-packages/matplotlib/sphinxext/plot_directive.py:322: PlotWarning: Exception running plot /home/darren/Projects/matplotlib/doc/mpl_examples/units/artist_tests.py
Traceback (most recent call last):
File "/home/darren/.local/lib/python2.7/site-packages/matplotlib/sphinxext/plot_directive.py", line 319, in render_figures
run_code(plot_path, function_name, plot_code, context=context)
File "/home/darren/.local/lib/python2.7/site-packages/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/darren/.local/lib/python2.7/site-packages/matplotlib/collections.py", line 852, in __init__
self.set_segments(segments)
File "/home/darren/.local/lib/python2.7/site-packages/matplotlib/collections.py", line 861, in set_segments
seg = np.asarray(seg, np.float_)
File "/home/darren/.local/lib/python2.7/site-packages/numpy/core/numeric.py", line 284, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence.
Activitymdboom commented on Jun 15, 2011 It is no longer doing this for me. How about you, @ddale? ddale commented on Jun 15, 2011 ContributorAuthor More actions I can't test it, I'm still getting these pdb errors when I try to build the docs on OS X. If it looks ok on your end, I'm going to close it. added 2 commits that reference this issue on Dec 5, 2013This issue will close once commit 3c0209b is merged into the 'master' branch.3c0209b This issue will close once commit ffc5078 is merged into the 'master' branch.ffc5078
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|