Skip to content

Commit db337c4

Browse files
committed
minor changes
1 parent ab67f0d commit db337c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: content/algorithms/MST Prim/MST Prim.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ nx.draw_networkx_labels(
152152
pos= pos_nodes,
153153
labels= labels,
154154
font_size= 14,
155-
font_color='blue'
155+
font_color="blue"
156156
)
157157
# adding edge labels
158158
nx.draw_networkx_edge_labels(
@@ -299,7 +299,7 @@ for v,d,ax,edges in zip(visited_list,distance_list,axes.ravel(), edge_list):
299299
pos= pos_nodes,
300300
labels= labels,
301301
font_size= 14.5,
302-
font_color='blue',
302+
font_color="blue",
303303
ax= ax
304304
)
305305
nx.draw_networkx_edge_labels(
@@ -326,7 +326,7 @@ NetworkX provides various [Tree](https://networkx.org/documentation/stable/refer
326326
The following code uses NetworkX function and gives us the same output as our code.
327327

328328
```python
329-
MST= nx.minimum_spanning_tree(roads, algorithm= 'prim')
329+
MST= nx.minimum_spanning_tree(roads, algorithm= "prim")
330330
print(sorted(MST.edges(data=True)))
331331
```
332332

0 commit comments

Comments
 (0)