Ask Your Question
1

Typo in operationtable

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

Maria Teresa gravatar image

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

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 +0200

rburing gravatar image

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

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 +0200

Seen: 68 times

Last updated: Oct 04 '23