Skip to content


Subversion checkout URL

You can clone with
Download ZIP


New doc build failure #1953

merged 1 commit into from

3 participants


Latex problems again. Doc pull requests merged in the last day are #1924 and #1918, by the looks of it.

There's a lot of warnings, ending in:

LaTeX Warning: Hyper reference `mpl_toolkits/mplot3d/index:toolkit-mplot3d-inde
x' on page 521 undefined on input line 29783.

LaTeX Warning: File `_images/contourf3d_demo21.png' not found on input line 297

! Package pdftex.def Error: File `_images/contourf3d_demo21.png' not found.

See the pdftex.def package documentation for explanation.
Type  H <return>  for immediate help.


! Emergency stop.


!  ==> Fatal error occurred, no output PDF file produced!

Build log


I've once again disabled the daily builds, so please ping me when you think that this has been fixed.

@mdboom mdboom Use a plot directive rather than a link to a file in the _image direc…
…tory, since the latter doesn't work with the latex build

It seems to go back to @pelson's 401e907, which introduced an image linked to the _image directory. The _image directory is created only for the HTML build, so LaTeX can't see it. Changing this to a plot directive resolves the issue [see attached], and I'm able to complete the doc build, at least on my local machine.


Thanks @mdboom. I'm going to merge, as this is a better solution. @takluyver - does this fix the PDF build?

@pelson pelson merged commit 301d6df into matplotlib:master

1 check passed

Details default The Travis CI build passed

Yep, it seems to be working again. Thanks!

@mdboom mdboom deleted the mdboom:fix-doc-build branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 10, 2013
  1. @mdboom

    Use a plot directive rather than a link to a file in the _image direc…

    mdboom committed
    …tory, since the latter doesn't work with the latex build
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 3 deletions.
  1. +2 −3 doc/mpl_toolkits/index.rst
5 doc/mpl_toolkits/index.rst
@@ -5,7 +5,7 @@
@@ -89,8 +89,7 @@ line, mesh) tools. Not the fastest or feature complete 3D library out
there, but ships with matplotlib and thus may be a lighter weight
solution for some use cases.
-.. image:: /_images/contourf3d_demo21.png
+.. plot:: mpl_examples/mplot3d/
.. _toolkit_axes_grid:
Something went wrong with that request. Please try again.