Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Adjust logic in RcParams to allow for inheritance#30245
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
timhoffm left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
We add a bunch of custom rc flags, and I am currently in the process of unifying the way we used to do things and align them with how matplotlib is doing it. That is, I prefer to subclass it rather than providing a custom class that is currently very very messy. |
e22a6e8
intomatplotlib:mainUh oh!
There was an error while loading.Please reload this page.
Thanks! Is there anything I can read up on potential changes to RcParams you are considering? |
no concise summary as there’s no concrete plan yet. You can have a look at the above linked items to get some ideas.
So all you need is additional parameters for your library? That’s something we consider to natively support one way or the other in the future. |
Ok thanks for letting me know, and great to hear. Will keep a close eye 👀 |
We over atUltraPlot ran into an issue where I wanted to derrive our RcClass directly from matplotlib's RcParams. However, in the source I noticed there are two places where the class hardcodes the class itself. This PR addresses this issue by making that initialization tied to the class type, opening up the potential for direct inheritance without needing to override these methods.