pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/matplotlib/matplotlib/commit/5c0043a252b94de41dc62668634c3e65418387ba

rigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-5efd63e783ac04bb.css" /> Remove unused stdlib imports. · matplotlib/matplotlib@5c0043a · GitHub
Skip to content

Commit 5c0043a

Browse files
committed
Remove unused stdlib imports.
1 parent 4754b58 commit 5c0043a

19 files changed

Lines changed: 1 addition & 25 deletions

File tree

examples/subplots_axes_and_figures/demo_constrained_layout.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
"""
1414

1515
import matplotlib.pyplot as plt
16-
import itertools
17-
import warnings
1816

1917

2018
def example_plot(ax):

lib/matplotlib/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
import contextlib
120120
import distutils.version
121121
import functools
122-
import io
123122
import importlib
124123
import inspect
125124
from inspect import Parameter

lib/matplotlib/backends/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import logging
33
import os
44
import sys
5-
import traceback
65

76
import matplotlib
87
from matplotlib import cbook

lib/matplotlib/backends/backend_pgf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import atexit
22
import codecs
3-
import errno
43
import logging
54
import math
65
import os

lib/matplotlib/cbook/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@
99
import collections
1010
import collections.abc
1111
import contextlib
12-
import datetime
13-
import errno
1412
import functools
1513
import glob
1614
import gzip
17-
import io
1815
import itertools
1916
import locale
2017
import numbers

lib/matplotlib/docstring.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import sys
2-
import types
3-
41
from matplotlib import cbook
52

63

lib/matplotlib/sphinxext/tests/test_tinypages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import filecmp
44
from os.path import join as pjoin, dirname, isdir
5-
from subprocess import call, Popen, PIPE
5+
from subprocess import Popen, PIPE
66
import sys
77

88
import pytest

lib/matplotlib/testing/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import functools
21
import locale
32
import warnings
43

lib/matplotlib/testing/compare.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"""
55

66
import atexit
7-
import functools
87
import hashlib
98
import os
109
from pathlib import Path

lib/matplotlib/testing/determinism.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Provides utilities to test output reproducibility.
33
"""
44

5-
import io
65
import os
76
import re
87
import subprocess

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy