Skip to content

Commit 73ef94a

Browse files
authored
Merge pull request #9 from tractorjuice/patch-4
Update wardley.py
2 parents b54ff2b + 75fff1c commit 73ef94a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ipywardley/wardley.py

+4
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ def wardley(self, line, cell):
158158
fig = None
159159
figsize = (12,8)
160160
matplotlib.rcParams.update(matplotlib.rcParamsDefault)
161+
162+
if wm.style is None: #Default to Wardley style is no style provided.
163+
wm.style = 'wardley'
164+
161165
if wm.style == 'wardley':
162166
# Use a monospaced font:
163167
matplotlib.rcParams['font.family'] = 'monospace'

0 commit comments

Comments
 (0)