mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #6910 from eric-wieser/patch-4
Make the background of inheritance diagrams transparent
This commit is contained in:
commit
55c0562138
@ -247,6 +247,7 @@ class InheritanceGraph:
|
|||||||
default_graph_attrs = {
|
default_graph_attrs = {
|
||||||
'rankdir': 'LR',
|
'rankdir': 'LR',
|
||||||
'size': '"8.0, 12.0"',
|
'size': '"8.0, 12.0"',
|
||||||
|
'bgcolor': 'transparent',
|
||||||
}
|
}
|
||||||
default_node_attrs = {
|
default_node_attrs = {
|
||||||
'shape': 'box',
|
'shape': 'box',
|
||||||
@ -254,7 +255,8 @@ class InheritanceGraph:
|
|||||||
'height': 0.25,
|
'height': 0.25,
|
||||||
'fontname': '"Vera Sans, DejaVu Sans, Liberation Sans, '
|
'fontname': '"Vera Sans, DejaVu Sans, Liberation Sans, '
|
||||||
'Arial, Helvetica, sans"',
|
'Arial, Helvetica, sans"',
|
||||||
'style': '"setlinewidth(0.5)"',
|
'style': '"setlinewidth(0.5),filled"',
|
||||||
|
'fillcolor': 'white',
|
||||||
}
|
}
|
||||||
default_edge_attrs = {
|
default_edge_attrs = {
|
||||||
'arrowsize': 0.5,
|
'arrowsize': 0.5,
|
||||||
|
Loading…
Reference in New Issue
Block a user