Skip to content

Commit

Permalink
Merge pull request #26567 from ayshih/svg
Browse files Browse the repository at this point in the history
Use SVG inheritance diagrams now that linking has been fixed
  • Loading branch information
timhoffm committed Mar 12, 2024
2 parents 3c11861 + ff6f027 commit 478dc5a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,16 +738,14 @@ def js_tag_with_cache_busting(js):
numpydoc_show_class_members = False

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

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

# -----------------------------------------------------------------------------
# Source code links
Expand Down

0 comments on commit 478dc5a

Please sign in to comment.