Skip to content

Commit

Permalink
docs quick start
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziaeemehr committed Aug 4, 2024
1 parent 5d5c056 commit a107162
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/quick_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@

plot_graph(G, seed=2, figsize=(3, 3))
import os
os.makedirs("images", exist_ok=True)
plt.savefig("images/01.png", bbox_inches="tight")
# get current working directory
cwd = os.getcwd()
path = os.getcwd() + "images"
os.makedirs(path, exist_ok=True)
plt.savefig(path+"/01.png", bbox_inches="tight")

# example-end

0 comments on commit a107162

Please sign in to comment.