diff options
Diffstat (limited to 'examples/periodicTable.py')
-rw-r--r-- | examples/periodicTable.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/periodicTable.py b/examples/periodicTable.py index e329ef7..c0d2375 100644 --- a/examples/periodicTable.py +++ b/examples/periodicTable.py @@ -1,8 +1,7 @@ #!/usr/bin/env python -# coding: utf-8 # /*########################################################################## # -# Copyright (c) 2004-2017 European Synchrotron Radiation Facility +# Copyright (c) 2004-2021 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -40,8 +39,8 @@ pt = PeriodicTable.PeriodicTable(w, selectable=True) pc = PeriodicTable.PeriodicCombo(w) pl = PeriodicTable.PeriodicList(w) -pt.setSelection(['Fe', 'Si', 'Mt']) -pl.setSelectedElements(['H', 'Be', 'F']) +pt.setSelection(["Fe", "Si", "Mt"]) +pl.setSelectedElements(["H", "Be", "F"]) pc.setSelection("Li") @@ -77,5 +76,4 @@ w.addTab(pl, "PeriodicList") w.addTab(comboContainer, "PeriodicCombo") w.show() -a.exec_() - +a.exec() |