Skip to content

Commit 25c050d

Browse files
authored
Fix PEP8 errors
1 parent 7ff4a66 commit 25c050d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

proplot/axes/plot.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2198,10 +2198,12 @@ def _update_text(self, props):
21982198
bboxalpha = props.pop('bboxalpha', 0.5)
21992199

22002200
if bbox:
2201-
self.set_bbox(dict(facecolor=bboxcolor,
2202-
edgecolor='black',
2203-
boxstyle=bboxstyle,
2204-
alpha=bboxalpha))
2201+
self.set_bbox({
2202+
'facecolor': bboxcolor,
2203+
'edgecolor': 'black',
2204+
'boxstyle': bboxstyle,
2205+
'alpha': bboxalpha,
2206+
})
22052207

22062208
return type(self).update(self, props)
22072209

@@ -2297,10 +2299,10 @@ def text_wrapper(
22972299
'bordercolor': bordercolor,
22982300
'borderinvert': borderinvert,
22992301
'borderwidth': borderwidth,
2300-
'bbox' : bbox,
2302+
'bbox': bbox,
23012303
'bboxcolor': bboxcolor,
2302-
'bboxstyle' : bboxstyle,
2303-
'bboxalpha' : bboxalpha,
2304+
'bboxstyle': bboxstyle,
2305+
'bboxalpha': bboxalpha,
23042306
})
23052307
return obj
23062308

0 commit comments

Comments
 (0)