Skip to content
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

PR: Use colours from Spyder's palette #82

Merged
merged 2 commits into from
Jun 19, 2023

Conversation

jitseniesen
Copy link
Member

@jitseniesen jitseniesen commented Jun 9, 2023

Description of Changes

Use the "group" colours (which are also used in the variable explorer) from Spyder's palette when colouring the results of the line profiler. You can see the colours at spyder-ide/ux-improvements#13 (comment) . I picked only a subset of the available colours (specifically, colours 1, 4, 10, 12, 2, 8, 6, in that order) in order to have clearly different colours.

Screenshot after the change:

lineprof

Fixes #50

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: Jitse Niesen

@jitseniesen jitseniesen self-assigned this Jun 9, 2023
@jitseniesen jitseniesen added this to the v0.3.2 milestone Jun 9, 2023
@jitseniesen jitseniesen merged commit 0f65075 into spyder-ide:master Jun 19, 2023
@jitseniesen jitseniesen deleted the colours branch June 19, 2023 11:59
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.

Adapt colors to dark mode
1 participant