summaryrefslogtreecommitdiff
path: root/numpy/polynomial/_polybase.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/polynomial/_polybase.py')
-rw-r--r--numpy/polynomial/_polybase.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py
index 42db9bfd1..c28e77e69 100644
--- a/numpy/polynomial/_polybase.py
+++ b/numpy/polynomial/_polybase.py
@@ -317,13 +317,6 @@ class ABCPolyBase(object):
)
needs_parens = True
- # filter out uninteresting coefficients
- filtered_coeffs = [
- (i, c)
- for i, c in enumerate(self.coef)
- # if not (c == 0) # handle NaN
- ]
-
mute = r"\color{{LightGray}}{{{}}}".format
parts = []