Skip to content

Conversation

@JanvanderLinden
Copy link
Collaborator

@JanvanderLinden JanvanderLinden commented Aug 14, 2024

Import CMS CAT color schemes via

from columnflow.plotting.cmsGhent.colors import DefaultColors

c = DefaultColors().cat_six()

Hex code of colors can be accessed e.g. via c.red, etc for defining plotting color processes.

Alternatively can also directly import as

from columnflow.plotting.cmsGhent.colors import CATColorsSix

c = CatColorsSix()

yields the same.

Also supplies a gradient of grey colors c.grey, c.grey1, ... c.grey5 in addition to the CAT-defined colors.

Also allows for accessing colors via an index, e.g. c[0], etc.

maadcoen and others added 30 commits April 3, 2024 15:52
added submodules for ghent_template
For Lumi files: normtag from lumi pog github (cloned into the modules), everything else from https://cms-service-dqmdc.web.cern.ch/CAF/certification.
All other POG jsons from the jsonpog-integration gitlab (cloned into the modules)
maadcoen and others added 28 commits May 21, 2024 10:57
…ward seems to breakdown when number of concatenated arrays exceeds 2 ** 7
Copy link
Collaborator

@JulesVandenbroeck JulesVandenbroeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request seems to be fine for me. 2 small question:

  • is if the number of grey shades is arbitrary?
  • in my opinion lightblue, darkorange, and lightviolet is a better choice but not a request to change if you don't want to.

While the linting tests fail it should still be fine in the master so no issues there.
Cheers, Jules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants