Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 666694d

Browse files
committed
STY: remove unused imports
1 parent 282726a commit 666694d

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

lib/matplotlib/legend_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
def legend_artist(self, legend, orig_handle, fontsize, handlebox)
2828
"""
2929

30-
from collections.abc import Sequence
3130
from itertools import cycle
3231

3332
import numpy as np

lib/matplotlib/testing/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pytest
22
import sys
33
import matplotlib
4-
from matplotlib import _api, cbook
4+
from matplotlib import _api
55

66

77
def pytest_configure(config):

lib/matplotlib/units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def default_units(x, axis):
4646
import numpy as np
4747
from numpy import ma
4848

49-
from matplotlib import _api, cbook
49+
from matplotlib import cbook
5050

5151

5252
class ConversionError(TypeError):

0 commit comments

Comments
 (0)