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

refactor: remove seaborn dependency for colors #207

Merged
merged 1 commit into from
Jan 16, 2021

Conversation

danielolsen
Copy link
Contributor

Purpose

Remove seaborn dependency for colors.

What the code is doing

Instead of importing seaborn to access the xkcd colors for resources, specify as "xkcd:*" strings directly, since the only time they are used is in postreise/plot/multi/plot_bar.py which passes them to matplotlib and matplotlib knows how to interpret those strings. See Breakthrough-Energy/PowerSimData#145

Time estimate

5 minutes.

@danielolsen danielolsen self-assigned this Jan 16, 2021
Copy link
Collaborator

@rouille rouille left a comment

Choose a reason for hiding this comment

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

Looks good

@danielolsen danielolsen merged commit 9f5b606 into develop Jan 16, 2021
@danielolsen danielolsen deleted the daniel/remove_seaborn_colors branch January 16, 2021 18:57
@ahurli ahurli mentioned this pull request Mar 16, 2021
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.

2 participants