Skip to content

Commit 478dc5a

Browse files
authored
Merge pull request #26567 from ayshih/svg
Use SVG inheritance diagrams now that linking has been fixed
2 parents 3c11861 + ff6f027 commit 478dc5a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/conf.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -738,16 +738,14 @@ def js_tag_with_cache_busting(js):
738738
numpydoc_show_class_members = False
739739

740740
# We want to prevent any size limit, as we'll add scroll bars with CSS.
741-
inheritance_graph_attrs = dict(dpi=100, size='1000.0', splines='polyline')
741+
inheritance_graph_attrs = dict(size='1000.0', splines='polyline')
742742
# Also remove minimum node dimensions, and increase line size a bit.
743743
inheritance_node_attrs = dict(height=0.02, margin=0.055, penwidth=1,
744744
width=0.01)
745745
inheritance_edge_attrs = dict(penwidth=1)
746746

747747
graphviz_dot = shutil.which('dot')
748-
# Still use PNG until SVG linking is fixed
749-
# https://github.com/sphinx-doc/sphinx/issues/3176
750-
# graphviz_output_format = 'svg'
748+
graphviz_output_format = 'svg'
751749

752750
# -----------------------------------------------------------------------------
753751
# Source code links

0 commit comments

Comments
 (0)