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

re-factor plotting #310

Open
4 tasks
mathematicalmichael opened this issue Apr 10, 2019 · 0 comments
Open
4 tasks

re-factor plotting #310

mathematicalmichael opened this issue Apr 10, 2019 · 0 comments
Assignees

Comments

@mathematicalmichael
Copy link
Collaborator

mathematicalmichael commented Apr 10, 2019

  • Improve coverage
  • Remove keyword arguments with default None that can be caught by **kwargs
    • Ensure documentation reflects this change. Maybe mention that it is a wrapper around pyplot?
  • Adopt **kwargs structure (see below for example)
import matplotlib.pyplot as plt
import numpy as np
def wrap_fun(n=100,**kwargs):
    f = plt.figure()
    ax = f.add_subplot(111)
    ax.plot(np.random.rand(n), np.random.randn(n), **kwargs)
    plt.legend()
    plt.show()
    
wrap_fun(label='test', lw=3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants