Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3aaaad1

Browse filesBrowse files
committed
Fix linting errors in test_agg.py
1 parent 5760573 commit 3aaaad1
Copy full SHA for 3aaaad1

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/tests/test_agg.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_agg.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ def test_pil_kwargs_tiff():
248248
tags = {TiffTags.TAGS_V2[k].name: v for k, v in im.tag_v2.items()}
249249
assert tags["ImageDescription"] == "test image"
250250

251+
251252
def test_pil_kwargs_webp():
252253
plt.plot([0, 1, 2], [0, 1, 0])
253254
buf_small = io.BytesIO()
@@ -258,13 +259,13 @@ def test_pil_kwargs_webp():
258259
plt.savefig(buf_large, format="webp", pil_kwargs=pil_kwargs_high)
259260
assert buf_large.getbuffer().nbytes > buf_small.getbuffer().nbytes
260261

262+
261263
def test_webp_alpha():
262264
plt.plot([0, 1, 2], [0, 1, 0])
263265
buf = io.BytesIO()
264266
plt.savefig(buf, format="webp", transparent=True)
265267
im = Image.open(buf)
266268
assert im.mode == "RGBA"
267-
268269

269270

270271
def test_draw_path_collection_error_handling():

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.