Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion uxsim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .analyzer import *
from .scenario_reader_writer import *

__version__ = "1.7.1"
__version__ = "1.7.2"
__author__ = "Toru Seo"
__copyright__ = "Copyright (c) 2023 Toru Seo"
__license__ = "MIT License"
3 changes: 3 additions & 0 deletions uxsim/uxsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,9 @@ def show_network(W, width=1, left_handed=1, figsize=(6,6), network_font_size=10,
node_size : int, optional
The size of the nodes in the visualization. Default is 6.
"""

os.makedirs(f"out{W.name}", exist_ok=True)

plt.rcParams["font.family"] = get_font_for_matplotlib()

plt.figure(figsize=figsize)
Expand Down
Loading