-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pfobjects.py #25
Conversation
coucou, tu me confirmes que c'est la bonne celle-la? |
Coucou, oui c'est le bon fichier Marina 2016-07-20 15:05 GMT+02:00 Colin Bernet notifications@github.com:
|
Salut Marina, je viens te tester et j'obtiens:
Peux-tu essayer de ton cote et corriger? Comme tu peux le voir, j'ai applique ces changements au-dessus de master :
|
for inner in inners: | ||
inner.SetFillColor(color) | ||
inner.SetFillStyle(3002) | ||
if cluster.particle: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why moving the color definition inside the loop? I understand that you would like slightly different colors for photons and electons, but couldn't you just add them to the existing code?
in other words, please revive the code removed between lines 14-18 and modify it to suit your needs
I tested the code, it works, nice! The color chosen for the electrons is too close to the one used for the photons. as a result, it's quite difficult to see them in a busy environment. See the attached display, which contains 2 electrons. Electrons and muons are very important, they must jump to our eyes. Could you please choose a very bright and visible color, different from yellow, that stands out? At some point we should implement a style configuration file for the display so that everybody can choose what they want. But that's low priority. |
No description provided.