Skip to content

Commit

Permalink
Fixes an issue where IDF.view_model would still show the plot when sh…
Browse files Browse the repository at this point in the history
…ow=False (#480)
  • Loading branch information
samuelduchesne committed Jul 18, 2023
1 parent 78b5ecd commit ac4dc42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archetypal/idfclass/idf.py
Expand Up @@ -2585,7 +2585,7 @@ def view_model(
"Model is in relative coordinates and must be translated to world using "
"IDF.to_world()."
)
view_idf(idf=self, test=False)
view_idf(idf=self, test=~show)

fig = plt.gcf()
axes = fig.get_axes()
Expand Down

0 comments on commit ac4dc42

Please sign in to comment.