diff options
Diffstat (limited to 'sphinx/ext/graphviz.py')
-rw-r--r-- | sphinx/ext/graphviz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py index 2986bf9c1..08707b733 100644 --- a/sphinx/ext/graphviz.py +++ b/sphinx/ext/graphviz.py @@ -341,7 +341,7 @@ def render_dot_latex(self, node, code, options, prefix='graphviz'): post = r'\hspace*{\fill}}' self.body.append('\n%s' % pre) - self.body.append(r'\includegraphics{%s}' % fname) + self.body.append(r'\sphinxincludegraphics[]{%s}' % fname) if not is_inline: self.body.append('%s\n' % post) |