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

Utils to get and set mpl style #34

Merged
merged 4 commits into from
Mar 20, 2023
Merged

Conversation

Beauprel
Copy link
Contributor

get_mpl_styles returns a tuple with a list of the style names and a list of their paths. set_mpl_style takes names and sets the style accordingly.

@Beauprel Beauprel linked an issue Mar 20, 2023 that may be closed by this pull request
Copy link
Contributor

@juliettelavoie juliettelavoie left a comment

Choose a reason for hiding this comment

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

Add docstrings please!

@Beauprel Beauprel merged commit 2ebb9a1 into main Mar 20, 2023
@Beauprel Beauprel deleted the 33-add-utils-to-set-matplotlib-style branch March 20, 2023 18:17
@@ -526,3 +526,30 @@ def categorical_colors():

return cat

def get_mpl_styles():
""" Get lists of the available matplotlib styles and their paths, as a tuple. """
Copy link
Contributor

Choose a reason for hiding this comment

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

it's a dictionnary, not a tuple

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will fix in #36

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.

Add utils to set matplotlib style
3 participants