Skip to content

Using default matplotlib settings / stylesheets support #143

Description

@stefraynaud

https://github.com/lukelbd/proplot/blob/3f065778edce6e07b109e436b504238c7194f04f/proplot/rctools.py#L48

How about setting default configuration values to their matplotib value if it exists, at least for some of the settings?
In the example above, the default colormap is set to "fire" whereas I would like the default "viridis" from matplotlib instead.
This may apply to several other conflicting settings.

I agree that you want to make all proplot plots beautiful by default, but I'm not sure all default matplotlib settings must be changed.
A solution would be to check if a config value is set to "None" by the user, and in this case to use the matplotlib value if it exists.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions