From b39a069beb59085486337f8b8480247123a50bbc Mon Sep 17 00:00:00 2001 From: ifilot Date: Sat, 1 Jul 2023 17:08:30 +0200 Subject: [PATCH] Polishing plots for dodecahedrane --- examples/dodecahedrane.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/examples/dodecahedrane.py b/examples/dodecahedrane.py index 33ac571..a0530d9 100644 --- a/examples/dodecahedrane.py +++ b/examples/dodecahedrane.py @@ -119,11 +119,18 @@ def main(): fig, ax = plt.subplots(1,2,dpi=144,figsize=(45,45)) - plot_matrix(ax[0], symops.operation_matrices[5],[bf.name for bf in symops.mol.basis],None,0) + op_idx = 5 + plot_matrix(ax[0], + symops.operation_matrices[op_idx], + [bf.name for bf in symops.mol.basis], + symops.operations[op_idx].name, + 0) - plot_matrix(ax[1], newmats[5], + plot_matrix(ax[1], newmats[op_idx], ['$\phi_{%i}$' % (i+1) for i in range(len(symops.mol.basis))], - None,0,highlight_groups=po.get_blocks()) + symops.operations[op_idx].name, + 0, + highlight_groups=po.get_blocks()) plt.tight_layout()