-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
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.
Add docstrings please!
@@ -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. """ |
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.
it's a dictionnary, not a tuple
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.
Will fix in #36
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.