-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Does matplotlib have a utility for "normalizing" abbreviated kwargs? #3490
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
Comments
iirc it does so by scraping docstrings. cc @WeatherGod |
Yeah... it is pretty sad, really... IIRC, essentially, as each type of Now, that is not to say that such an API wouldn't be highly welcomed... On Tue, Sep 9, 2014 at 4:03 PM, Thomas A Caswell notifications@github.com
|
The referenced example in the OP is gone - for my understanding what does it look like? Perhaps related: #1963 |
The original function is this (permalink):
https://github.com/tritemio/FRETBursts/blob/0.5.9/fretbursts/burst_plot.py#L97
On Jan 2, 2017 12:54, "Pete Huang" <notifications@github.com> wrote:
The referenced example in the OP is gone - for my understanding what does
it look like?
Perhaps related: #1963
<#1963>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3490 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD9rTRInIHuJIZPYAHosS8tqEUl3ZDcYks5rOWQFgaJpZM4CgON2>
.
|
@tacaswell so, sounds like it exists but it's not used throughout. My search shows only If we want to open up a new effort to start replacing the docstring scraping functionality, we should replace this issue with a fresh one |
This is also tied to the traitlets work @rmorshea will be doing (so we can simply ask the artists what attributes they have). |
For visitor reference, traitlets work sits at #4762 |
For future reference: Aliases and normalizing are currently implemented via the decorator |
Does matplotlib include an official utility for "normalizing" abbreviated keyword arguments? This is useful for functions that accept style arguments, apply defaults internally, and pass the result through to mpl.
One example of an implementation is here. Does matplotlib have something like this in its API somewhere? If not, I think it would be nice to incorporate this in mpl.
cc @tritemio
The text was updated successfully, but these errors were encountered: