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

Keyword Passing in Plotting Code #7

Open
mwilensky768 opened this issue Jan 15, 2019 · 1 comment
Open

Keyword Passing in Plotting Code #7

mwilensky768 opened this issue Jan 15, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mwilensky768
Copy link
Owner

Each plotting function in plot_lib calls some axes method such as "errorbar" or "set_%s" % attr such as "set_xticklabels." Since this is just plotting code, rather than having keyword arguments for a subset of the attributes that can be set, there can be one plotting function which then takes two pair sequences, where one sequence describes the plotting method kwargs, and another describes the axes attributes to be set. Since this is using implicit keywords, useful settings can be shown in the documentation.

@mwilensky768 mwilensky768 added the enhancement New feature or request label Jan 15, 2019
@mwilensky768 mwilensky768 self-assigned this Jan 15, 2019
@mwilensky768
Copy link
Owner Author

This will break some scripts, which are not covered by unit tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant