Skip to content

Commit c8e82d6

Browse files
Bruno-TTdimpase
authored andcommitted
examples docstring
1 parent 217f1ec commit c8e82d6

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
@@ -966,6 +966,11 @@ def color_table(self, element_names=True, cmap=gist_rainbow, **options):
966966
967967
- ``**options`` - passed on to matrix_plot call
968968
969+
EXAMPLES::
970+
sage: from sage.matrix.operation_table import OperationTable
971+
sage: OT = OperationTable(SymmetricGroup(3), operation=operator.mul)
972+
sage: OT.color_table()
973+
Launched png viewer for Graphics object consisting of 37 graphics primitives
969974
"""
970975

971976
# Base matrix plot object, without text

0 commit comments

Comments
 (0)