Skip to content

Commit 4763de1

Browse files
committed
Fix some mysterious flake8 errors
1 parent 7a1b89e commit 4763de1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

lib/matplotlib/backend_bases.py

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
import numpy as np
4747

48+
import matplotlib as mpl
4849
from matplotlib import (
4950
backend_tools as tools, cbook, colors, textpath, tight_bbox, transforms,
5051
widgets, get_backend, is_interactive, rcParams)

lib/matplotlib/tests/test_compare_images.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import os
21
from pathlib import Path
32
import shutil
43

lib/matplotlib/tests/test_image.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from matplotlib import (
1616
colors, image as mimage, patches, pyplot as plt, style,
17-
rc_context, rcParams)
17+
rcParams)
1818
from matplotlib.cbook import MatplotlibDeprecationWarning
1919
from matplotlib.image import (AxesImage, BboxImage, FigureImage,
2020
NonUniformImage, PcolorImage)

0 commit comments

Comments
 (0)