Skip to content

Commit

Permalink
Merge pull request #9 from tractorjuice/patch-4
Browse files Browse the repository at this point in the history
Update wardley.py
  • Loading branch information
anjackson committed May 23, 2023
2 parents b54ff2b + 75fff1c commit 73ef94a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ipywardley/wardley.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ def wardley(self, line, cell):
fig = None
figsize = (12,8)
matplotlib.rcParams.update(matplotlib.rcParamsDefault)

if wm.style is None: #Default to Wardley style is no style provided.
wm.style = 'wardley'

if wm.style == 'wardley':
# Use a monospaced font:
matplotlib.rcParams['font.family'] = 'monospace'
Expand Down

0 comments on commit 73ef94a

Please sign in to comment.