Skip to content

Commit 26e12bd

Browse files
committed
pleasing linters, removing sage.all
1 parent 5dae2e2 commit 26e12bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/sage/matrix/operation_table.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from matplotlib.cm import gist_rainbow, Greys
1919
from sage.plot.matrix_plot import matrix_plot
2020
from sage.plot.text import text
21-
from sage.all import copy
21+
from copy import copy
2222

2323

2424
class OperationTable(SageObject):
@@ -977,15 +977,15 @@ def color_table(self, element_names=True, cmap=gist_rainbow_copy, **options):
977977
EXAMPLES::
978978
979979
sage: from sage.matrix.operation_table import OperationTable
980-
sage: OT = OperationTable(SymmetricGroup(3), operation=operator.mul)
981-
sage: OT.color_table()
980+
sage: OTa = OperationTable(SymmetricGroup(3), operation=operator.mul)
981+
sage: OTa.color_table()
982982
Graphics object consisting of 37 graphics primitives
983983
984984
.. PLOT::
985985
986986
from sage.matrix.operation_table import OperationTable
987-
OT = OperationTable(SymmetricGroup(3), operation=operator.mul)
988-
sphinx_plot(OT.color_table())
987+
OTa = OperationTable(SymmetricGroup(3), operation=operator.mul)
988+
sphinx_plot(OTa.color_table())
989989
"""
990990

991991
# Base matrix plot object, without text

0 commit comments

Comments
 (0)