Skip to content

Commit b0225e1

Browse files
committed
change background color
1 parent c3f97e5 commit b0225e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdv/metadata/visualization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import graphviz
77

88
DEFAULT_SDTYPES = ['id', 'numerical', 'categorical', 'datetime', 'boolean']
9-
9+
BACKGROUND_COLOR = '#B7E9FF'
1010

1111
def create_columns_node(columns):
1212
"""Convert columns into text for ``graphviz`` node.
@@ -95,7 +95,7 @@ def visualize_graph(nodes, edges, filepath=None):
9595
digraph = graphviz.Digraph(
9696
'Metadata',
9797
format=graphviz_extension,
98-
node_attr={'shape': 'Mrecord', 'fillcolor': 'lightgoldenrod1', 'style': 'filled'},
98+
node_attr={'shape': 'Mrecord', 'fillcolor': BACKGROUND_COLOR, 'style': 'filled'},
9999
)
100100

101101
for name, label in nodes.items():

0 commit comments

Comments
 (0)