Skip to content

Commit 3efbf29

Browse files
Bruno-TTdimpase
authored andcommitted
silence warning to fix doctest
1 parent c8e82d6 commit 3efbf29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/sage/matrix/operation_table.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,7 @@ def color_table(self, element_names=True, cmap=gist_rainbow, **options):
971971
sage: OT = OperationTable(SymmetricGroup(3), operation=operator.mul)
972972
sage: OT.color_table()
973973
Launched png viewer for Graphics object consisting of 37 graphics primitives
974+
974975
"""
975976

976977
# Base matrix plot object, without text
@@ -998,6 +999,10 @@ def color_table(self, element_names=True, cmap=gist_rainbow, **options):
998999
t = text(tText, tPos, rgbcolor=(0, 0, 0))
9991000
plot = plot + t
10001001

1002+
# https://moyix.blogspot.com/2022/09/someones-been-messing-with-my-subnormals.html
1003+
import warnings
1004+
warnings.filterwarnings("ignore", message="The value of the smallest subnormal for")
1005+
10011006
return plot
10021007

10031008
def gray_table(self, **options):

0 commit comments

Comments
 (0)