Ask Your Question
1

Typo in operationtable

asked 2023-10-04 15:13:46 +0100

Maria Teresa gravatar image

updated 2023-10-04 22:08:11 +0100

tmonteil gravatar image

The following code:

 from sage.matrix.operation_table import OperationTable
    OTa = OperationTable(SymmetricGroup(3), operation=operator.mul)       # optional - sage.plot, sage.groups
    OTa.color_table()

produces a table where the colors for the elements are wrong: f is purple in the first line but green in the second. It is confusing how can I change this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-10-04 16:12:48 +0100

rburing gravatar image

updated 2023-10-04 16:14:11 +0100

In fact the colors are correct but the labels are wrong.

I've submitted a pull request to fix it here:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2023-10-04 15:13:46 +0100

Seen: 115 times

Last updated: Oct 04 '23