mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Work around a bug with centering graphviz images in latex.
This commit is contained in:
parent
224104724a
commit
166f04881d
@ -169,7 +169,7 @@ def render_dot_latex(self, node, code, options, prefix='graphviz'):
|
||||
raise nodes.SkipNode
|
||||
|
||||
if fname is not None:
|
||||
self.body.append('\\includegraphics{%s}' % fname)
|
||||
self.body.append('\\includegraphics[]{%s}' % fname)
|
||||
raise nodes.SkipNode
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user