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 095caa1

Browse filesBrowse files
authored
Merge pull request matplotlib#13957 from anntzer/unused-tests
Remove many unused variables in tests.
2 parents 9f891c6 + 7484e56 commit 095caa1
Copy full SHA for 095caa1
Expand file treeCollapse file tree

24 files changed

+216
-322
lines changed

‎lib/matplotlib/tests/test_agg.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_agg.py
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from matplotlib import (
88
collections, path, pyplot as plt, transforms as mtransforms, rcParams)
99
from matplotlib.image import imread
10-
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
1110
from matplotlib.figure import Figure
1211
from matplotlib.testing.decorators import image_comparison
1312

@@ -17,7 +16,6 @@ def test_repeated_save_with_alpha():
1716
# alpha of 0.25.
1817

1918
fig = Figure([1, 0.4])
20-
canvas = FigureCanvas(fig)
2119
fig.set_facecolor((0, 1, 0.4))
2220
fig.patch.set_alpha(0.25)
2321

0 commit comments

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