fudii0921 commited on
Commit
99897ea
·
verified ·
1 Parent(s): d400c0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def create_graph(text):
46
  return graph, graph_documents_filtered
47
 
48
  def visualize_graph(graph):
49
- plt.rcParams['font.family'] = ['DejaVu Sans', 'Noto Sans CJK JP']
50
  plt.figure(figsize=(12, 8))
51
  pos = nx.spring_layout(graph._graph)
52
  nx.draw(graph._graph, pos, with_labels=True, node_color='lightblue', node_size=500, font_size=8, font_weight='bold')
 
46
  return graph, graph_documents_filtered
47
 
48
  def visualize_graph(graph):
49
+ plt.rcParams['font.family'] = ['DejaVu Sans', 'Arial']
50
  plt.figure(figsize=(12, 8))
51
  pos = nx.spring_layout(graph._graph)
52
  nx.draw(graph._graph, pos, with_labels=True, node_color='lightblue', node_size=500, font_size=8, font_weight='bold')